38 double wrapped = angle;
39 while (wrapped < center && center - wrapped >
_pi)
44 while (wrapped > center && wrapped - center > _pi)
54 return degrees *
_pi / 180.0;
59 return radians * 180.0 /
_pi;
double WrapRadians(double angle, double center)
static const long double _2pi
static const long double _pi
double ToRadians(double degrees)
double ToDegrees(double radians)