clik-engine API
    Preparing search index...

    Function GetCircleToRectangle

    • Checks for intersection between a circle and a rectangle, and returns the intersection points as a Point object array.

      Parameters

      • circle: Phaser.Geom.Circle

        The circle to be checked.

      • rect: Phaser.Geom.Rectangle

        The rectangle to be checked.

      • Optionalout: any[]

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

      Returns any[]