跳转到内容

rotateVector

rotateVector(vector, radians): Point

Parameters

vector: Point

The vector to rotate (x and y)

radians: TRadian

The radians of the angle for the rotation

Returns

Point

The new rotated point

Defined in

src/util/misc/vectors.ts:14