CBA_fnc_simplifyAngle

Description

Returns an equivalent angle to the specified angle in the range 0 to 360.  This allows adjustment from negative angles and angles equal or greater to 360.  If the inputted angle is in the range 0 - 360, it will be returned unchanged.

Parameters

_angle the un-adjusted angle.

Returns

the equivalent angle in range 0 to 360.

Examples

Author

Vigilante, courtesy by -=ACE=- of Simcentric

Close