<static> reflect(a, b) → {number}
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.
Parameters
Name | Type | Description |
---|---|---|
a | Phaser.Line | The base line. |
b | Phaser.Line | The line to be reflected from the base line. |
Returns
number -
The reflected angle in radians.
- Source code: geom/Line.js (Line 722)
Please login to continue.