Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

rotateVec2

rotateVec2(p, angle): Coordinates

Defined in: packages/sigma/src/utils/matrices.ts:70

Parameters

p

Coordinates

angle

number

Returns

Coordinates