25 #ifndef INCLUDED_DegreesToRadians_h_GUID_8354A4E2_30FF_429C_2569_E83EEF10E13A 26 #define INCLUDED_DegreesToRadians_h_GUID_8354A4E2_30FF_429C_2569_E83EEF10E13A 32 #include <boost/math/constants/constants.hpp> 39 inline double degreesToRadians(
double degrees) {
40 using namespace boost::math::double_constants;
41 return degrees * pi / 180.0;
44 inline double radiansToDegrees(
double radians) {
45 using namespace boost::math::double_constants;
46 return radians * 180.0 / pi;
50 #endif // INCLUDED_DegreesToRadians_h_GUID_8354A4E2_30FF_429C_2569_E83EEF10E13A Handles spatial transformations.
Definition: SerializationTraitExample_Complicated.h:40
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3