Rotate a line around the given coordinates by the given angle in radians.
name | type | description |
---|---|---|
line | Phaser.Geom.Line |
The line to rotate. |
x | number |
The horizontal coordinate to rotate the line around. |
y | number |
The vertical coordinate to rotate the line around. |
angle | number |
The angle of rotation in radians. |
The rotated line.