clik-engine API
    Preparing search index...

    Function GetLineToCircle

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

      Parameters

      • line: Phaser.Geom.Line

        The line segment to check.

      • circle: Phaser.Geom.Circle

        The circle to check against the line.

      • Optionalout: any[]

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

      Returns any[]