Rotate a line around its midpoint by the given angle in radians.
name | type | description |
---|---|---|
line | Phaser.Geom.Line |
The line to rotate. |
angle | number |
The angle of rotation in radians. |
The rotated line.