public static class UtilsFunctions { public static float NormalizeAngle(float angle) { if (angle > 180f) { angle -= 360f; } return angle; } }