mirror of
https://github.com/photonstorm/phaser
synced 2024-12-20 18:14:13 +00:00
11 lines
400 B
TypeScript
11 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;
|