arcade-physics
Version:
Use Arcade Physics without Phaser.
16 lines • 547 B
TypeScript
export default ReflectAngle;
/**
* Calculate the reflected angle between two lines.
*
* This is the outgoing angle based on the angle of Line 1 and the normalAngle of Line 2.
*
* @function Phaser.Geom.Line.ReflectAngle
* @since 3.0.0
*
* @param {Phaser.Geom.Line} lineA - The first line.
* @param {Phaser.Geom.Line} lineB - The second line.
*
* @return {number} The reflected angle between each line.
*/
declare function ReflectAngle(lineA: Phaser.Geom.Line, lineB: Phaser.Geom.Line): number;
//# sourceMappingURL=ReflectAngle.d.ts.map