reflect(line) → {number}
Returns the reflected angle between two lines.
This is the outgoing angle based on the angle of this line and the normalAngle of the given line.
Parameters
Name | Type | Description |
---|---|---|
line | Phaser.Line | The line to reflect off this line. |
Returns
number -
The reflected angle in radians.
- Source code: geom/Line.js (Line 168)
Please login to continue.