Conversions between radians and degrees.
Definition in file Degrees.hpp.
Go to the source code of this file.
Namespaces | |
namespace | detail |
Functions | |
template<class T > | |
constexpr std::enable_if< std::is_floating_point< T >::value, T >::type | rad2deg (T r) |
Convert radians to degrees. More... | |
template<class T > | |
constexpr std::enable_if< std::is_floating_point< T >::value, T >::type | deg2rad (T d) |
Convert degrees to radians. More... | |
Variables | |
constexpr long double | pi_inv_l = 0.318309886183790671537767526745028724L |
constexpr long double | pi_l = 3.141592653589793238462643383279502884L |