normalizeAngle360

Restricts an angle to the range 0, 360 degrees, wrapping angles outside the range. Wrapping takes place as though traversing the edge of a unit circle; angles less than 0 wrap back to 360, while angles greater than 360 wrap back to 0.

Return

the specified angle wrapped to 0, 360 degrees

Parameters

degrees

the angle to wrap in degrees