Determine the angular distance between two angles in degree.
In a 360 circle, if you had one degre at 90 and another at 80, the angle distance is 10, the difference between the two.
Examples
mathf.angleDistanceDegree(10, 10) ==> 0 mathf.angleDistanceDegree(30, 10) ==> -20 mathf.angleDistanceDegree(10, 50) ==> 40 * mathf.angleDistanceDegree(10, 340) ==> -30 * Copy
mathf.angleDistanceDegree(10, 10) ==> 0 mathf.angleDistanceDegree(30, 10) ==> -20 mathf.angleDistanceDegree(10, 50) ==> 40 * mathf.angleDistanceDegree(10, 340) ==> -30 *
The first angle in degrees.
The second angle in degrees.
Optional
The max value at which point the numerical system repeats. In a circle this would be 360. This value defaults to 360.
Distance in degrees.
Determine the angular distance between two angles in degree.
In a 360 circle, if you had one degre at 90 and another at 80, the angle distance is 10, the difference between the two.
Examples