clamp Angle360
Restricts an angle to the range 0, 360 degrees, clamping angles outside the range. Angles less than 0 are returned as 0, and angles greater than 360 are returned as 360. Angles within the range are returned unmodified.
Return
the specified angle clamped to the range 0, 360 degrees
Parameters
degrees
the angle to clamp in degrees