![]() | Angles Class |
Namespace: Slash.Math.Utils
The Angles type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AngleDiff |
Computes the smallest difference from first to second angle. Takes into account cases like AngleDiff( -Pi, Pi ) == 0. Returned radian angle is between (-Pi, Pi).
|
![]() ![]() | AngleDiffPositive |
Computes the smallest difference from first to second angle. Takes into account cases like AngleDiff( -Pi, Pi ) == 0. Returned radian angle is between (0, 2*Pi).
|
![]() ![]() | ClampAngle |
Clamps the angle to -Pi and Pi.
|
![]() ![]() | ClampAnglePositive |
Clamps the angle to 0 and 2*PI.
|
![]() ![]() | CurveAngle |
Interpolates an angle from a start value to an end value.
|
![]() ![]() | Deg2Rad |
Converts a degree angle to a radian angle.
|
![]() ![]() | Rad2Deg |
Converts a radian angle to a degree angle.
|
![]() ![]() | Slerp |
Spherical interpolation of a value from a start angle to an end value for the passed step.
|
Name | Description | |
---|---|---|
![]() ![]() | Deg2RadFactor |
Factor to convert a degree angle to a radian angle.
|
![]() ![]() | Rad2DegFactor |
Factor to convert a radian angle to a degree angle.
|