phaser - v4.0.0-rc.4
    Preparing search index...
    • Checks for intersection between a circle and a rectangle, and returns the intersection points as a Point object array.

      Parameters

      • circle: Circle

        The circle to be checked.

      • rect: Geom.Rectangle

        The rectangle to be checked.

      • Optionalout: any[]

        An optional array in which to store the points of intersection.

      Returns any[]