 | AnglesClampAnglePositive Method |
Clamps the angle to 0 and 2*PI.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static float ClampAnglePositive(
float angle
)
Public Shared Function ClampAnglePositive (
angle As Single
) As Single
public:
static float ClampAnglePositive(
float angle
)
static member ClampAnglePositive :
angle : float32 -> float32
Parameters
- angle
- Type: SystemSingle
Angle (in radians).
Return Value
Type:
Single Clamped angle (in radians).
See Also