Click or drag to resize
Angles Methods

The Angles type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAngleDiff
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).
Public methodStatic memberAngleDiffPositive
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).
Public methodStatic memberClampAngle
Clamps the angle to -Pi and Pi.
Public methodStatic memberClampAnglePositive
Clamps the angle to 0 and 2*PI.
Public methodStatic memberCurveAngle
Interpolates an angle from a start value to an end value.
Public methodStatic memberDeg2Rad
Converts a degree angle to a radian angle.
Public methodStatic memberRad2Deg
Converts a radian angle to a degree angle.
Public methodStatic memberSlerp
Spherical interpolation of a value from a start angle to an end value for the passed step.
Top
See Also