rotateVector
rotateVector(
vector
,radians
):Point
Defined in: src/util/misc/vectors.ts:14
Rotates vector
with radians
Parameters
Section titled “Parameters”vector
Section titled “vector”The vector to rotate (x and y)
radians
Section titled “radians”The radians of the angle for the rotation
Returns
Section titled “Returns”The new rotated point