rotation range clamping used a while loop which would run forever when the value was so big subtracting a full revolution didnt change the value. Solve by using fmod() and double precision angle.
rotation range clamping used a while loop which would run forever when the value was so big subtracting a full revolution didnt change the value. Solve by using fmod() and double precision angle.