snapAngle
See source codeClamp rotation to even segments.
function snapAngle(r: number, segments: number): number
Parameters
Name | Description |
---|---|
|
The rotation in radians. |
|
The number of segments. |
Returns
number
Prev
SINNext
stopEventPropagationClamp rotation to even segments.
function snapAngle(r: number, segments: number): number
Name | Description |
---|---|
|
The rotation in radians. |
|
The number of segments. |
number