snapAngle
Public Function
Clamp rotation to even segments.
Parameters
Name | Description |
---|---|
|
The rotation in radians. |
|
The number of segments. |
Returns
number
Public Function
Clamp rotation to even segments.
Name | Description |
---|---|
|
The rotation in radians. |
|
The number of segments. |
number