Tesla Graphics Engine Documentation (January 2012)
WrapAngle Method (angle)
Tesla
►
Tesla.Math
►
MathUtils
►
WrapAngle(Single)
C#
Reduces an angle in radians to the range of pi to -pi.
Declaration Syntax
C#
public
static
float
WrapAngle
(
float
angle
)
Parameters
angle
(
Single
)
Angle in radians
Return Value
Reduced angle
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)