Computes the angle arc between a start and end angle, given in degrees. It properly accounts for the wrap-around values.
// Between 0-90 in clockwise directiondegreeArc(0, 90, true); // Yields: 270// In counter-clockwise directiondegreeArc(0, 90, false); // Yields: 90 Copy
// Between 0-90 in clockwise directiondegreeArc(0, 90, true); // Yields: 270// In counter-clockwise directiondegreeArc(0, 90, false); // Yields: 90
See radianArc to operate in radians.
Orientation of angles is as follows:
90 |180 ---+--- 0 | 270 Copy
90 |180 ---+--- 0 | 270
Start angle, in degrees
End angle, in degrees
Calculate in clockwise direction (default: true)
Angle of arc, in degrees.
Computes the angle arc between a start and end angle, given in degrees. It properly accounts for the wrap-around values.
See radianArc to operate in radians.
Orientation of angles is as follows: