Closed ghost closed 9 years ago
Thanks, you're right. :+1:
Just added the method wrapAngleAroundZero
to the ArithmeticUtils
class that fixes this issue without using the double modulo which is somewhat expensive. Apart from rounding errors, it should yield the same results.
No problem. I'm using extensively this library and it's really great. Unfortunately, I extend your library using Scala so I'm not able to contribute a lot :/
It cause reach orientation to choose the long rotation over the short rotation under some circumstances.