Move Vectormath main
C++20 game and graphics mathematics
Loading...
Searching...
No Matches
Constants.hpp File Reference
#include <concepts>
#include <numbers>

Go to the source code of this file.

Namespaces

namespace  mv
 
namespace  mv::math
 

Variables

template<std::floating_point T>
constexpr T mv::math::Pi = std::numbers::pi_v<T>
 
template<std::floating_point T>
constexpr T mv::math::HalfPi = Pi<T> / T(2)
 
template<std::floating_point T>
constexpr T mv::math::QuarterPi = Pi<T> / T(4)
 
template<std::floating_point T>
constexpr T mv::math::Tau = Pi<T> * T(2)