Public function

Signature
function canonicalizeRotation(a: number): number
Parameters
NameDescription

a

number

Any angle in radians

Returns
number

A number between 0 and 2 * PI

Source

packages/editor/src/lib/primitives/utils.ts

BoxLikeCanvas