Skip to content

rotatePoint

rotatePoint(point, origin, radians): Point

Defined in: src/util/misc/rotatePoint.ts:11

Rotates point around origin with radians

Point

Point

The origin of the rotation

TRadian

The radians of the angle for the rotation

Point

The new rotated point