arcade-physics
Version:
Use Arcade Physics without Phaser.
15 lines • 721 B
TypeScript
export default LineToLine;
/**
* Checks if two Lines intersect. If the Lines are identical, they will be treated as parallel and thus non-intersecting.
*
* @function Phaser.Geom.Intersects.LineToLine
* @since 3.0.0
*
* @param {Phaser.Geom.Line} line1 - The first Line to check.
* @param {Phaser.Geom.Line} line2 - The second Line to check.
* @param {Phaser.Geom.Point} [out] - A Point in which to optionally store the point of intersection.
*
* @return {boolean} `true` if the two Lines intersect, and the `out` object will be populated, if given. Otherwise, `false`.
*/
declare function LineToLine(line1: Phaser.Geom.Line, line2: Phaser.Geom.Line, out?: any): boolean;
//# sourceMappingURL=LineToLine.d.ts.map