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