phaser/v3/typings/geom/line/ReflectAngle.d.ts

11 lines
400 B
TypeScript
Raw Normal View History

2017-01-16 21:43:07 +00:00
/**
* 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;