[Rock-dev] base::Angle

Jakob Schwendner jakob.schwendner at dfki.de
Tue Feb 8 15:58:02 CET 2011


Hi,

I just wanted to notice that I have added an Angle class to base.
The class will represent an Angle in a canonical way, and possibly save you
from writing annoying fmod stuff yourself. Also, there are some use cases
that could be added later, like minimum distance between two angles a.s.o.
It also performs explicit conversion between rad and deg, and has an 
overloaded
stream operator that prints rad and deg (helpful for debugging).

cheers,

Jakob



More information about the Rock-dev mailing list