Method NormalizeAngle
NormalizeAngle(float)
Put euler angle in the range of -180...180
Declaration
public static float NormalizeAngle(float angle)
Parameters
Type | Name | Description |
---|---|---|
float | angle | The angle to normalize |
Returns
Type | Description |
---|---|
float | The angle expressed as a value -180...180 |