Reduce an angle in degrees to the range (-180, 180], the signed distance from zero. Useful for "how far past the target" corrections.
wrap180(350); // -10 Copy
wrap180(350); // -10
Reduce an angle in degrees to the range (-180, 180], the signed distance from zero. Useful for "how far past the target" corrections.