The NormalizeAngle
method is a static utility function within the Angles
struct. It is used to normalize an angle to a standard range. Specifically, it converts an angle to the range of (-180, 180] degrees. This is useful for ensuring that angles are represented in a consistent manner, which can be important for calculations involving rotations and directions.