We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi. I'm trying to constrain an angle. , measured in radians. But radians takes negative values so constrain() method will not work.
So, i tried converting radians to angles, constrain degrees and convert to radians again. But the result is the same.
a = radians(constrain(degrees(a), 90, 270));