phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks if a Triangle and a Circle intersect.

      A Circle intersects a Triangle if its center is located within it or if any of the Triangle's sides intersect the Circle. As such, the Triangle and the Circle are considered "solid" for the intersection.

      Parameters

      • triangle: Geom.Triangle

        The Triangle to check for intersection.

      • circle: Circle

        The Circle to check for intersection.

      Returns boolean