arcade-physics
Version:
Use Arcade Physics without Phaser.
16 lines • 747 B
TypeScript
export default GetLineToCircle;
/**
* Checks for intersection between the line segment and circle,
* and returns the intersection points as a Point object array.
*
* @function Phaser.Geom.Intersects.GetLineToCircle
* @since 3.0.0
*
* @param {Phaser.Geom.Line} line - The line segment to check.
* @param {Phaser.Geom.Circle} circle - The circle to check against the line.
* @param {array} [out] - An optional array in which to store the points of intersection.
*
* @return {array} An array with the points of intersection if objects intersect, otherwise an empty array.
*/
declare function GetLineToCircle(line: Phaser.Geom.Line, circle: Phaser.Geom.Circle, out?: any[] | undefined): any[];
//# sourceMappingURL=GetLineToCircle.d.ts.map