mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +00:00
10 lines
400 B
TypeScript
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;
|