CRaPI - Correct Robust and Perfect API

MathUtility.NormalizeAngle Method 

Normalizes an angle to fit into the range -180 ~ 180

public static double NormalizeAngle(
   double pAngle
);

Parameters

pAngle
Anglo to normalize

Return Value

Normalized angle, a value between -180 and 180

See Also

MathUtility Class | TeamYaffa.CRaPI.Utility Namespace