CBA_fnc_simplifyAngle180

Description

Returns an equivalent angle to the specified angle in the range -180 to 180.

If the input angle is in the range -180 to 180, it will be returned unchanged.

Parameters

_angleThe unadjusted angle [Number]

Returns

Simplified angle [Number]

Examples

_angle = [912] call CBA_fnc_simplifyAngle180;

Author

SilentSpike 2015-27-07

Close