phaser/v3/typings/geom/line/ReflectAngle.d.ts
2017-01-16 22:43:07 +01:00

10 lines
400 B
TypeScript

/**
* Returns the reflected angle between two lines.
* This is the outgoing angle based on the angle of Line 1 and the normalAngle of Line 2.
*
* @method Phaser.Line.reflect
* @param {Phaser.Line} a - The base line.
* @param {Phaser.Line} b - The line to be reflected from the base line.
* @return {number} The reflected angle in radians.
*/
export default function (lineA: any, lineB: any): number;