public static float Normalize(float degrees) { return(Spectrum.Wrap(degrees, 0f, 360f)); }
// Shift degrees to valid ranges. public static float Wrap(float radian) { return(Spectrum.Wrap(radian, (float)Math.PI, (float)Math.PI)); }
// Shift degrees to valid ranges. public static float Wrap(float degrees) { return(Spectrum.Wrap(degrees, -180f, 180f)); }