Public function

Clamp radians within 0 and 2PI

Signature
function clampRadians(r: number): number
Parameters
NameDescription

r

number

The radian value.

Returns
number
Source

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

clampclockwiseAngleDist