DeltaAngle
This function returns the shortest distance between the two angles, relative to the first angle.
Syntax
- static float DeltaAngle(float angle0, float angle1)
Parameters
- angle0: the first angle.
- angle1: the second angle.
Returns
Returns the shortest distance that can be added to angle0 to reach angle1.