neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::math::constants Namespace Reference

Variables

template<typename T >
constexpr T zero = static_cast<T>(0.0)
 
template<typename T >
constexpr T one = static_cast<T>(1.0)
 
template<typename T >
constexpr T two = static_cast<T>(2.0)
 
template<typename T >
constexpr T three = static_cast<T>(3.0)
 
template<typename T >
constexpr T four = static_cast<T>(4.0)
 

Variable Documentation

◆ four

template<typename T >
constexpr T neolib::math::constants::four = static_cast<T>(4.0)
constexpr

Definition at line 77 of file numerical.hpp.

◆ one

template<typename T >
constexpr T neolib::math::constants::one = static_cast<T>(1.0)
constexpr

Definition at line 71 of file numerical.hpp.

◆ three

template<typename T >
constexpr T neolib::math::constants::three = static_cast<T>(3.0)
constexpr

Definition at line 75 of file numerical.hpp.

◆ two

template<typename T >
constexpr T neolib::math::constants::two = static_cast<T>(2.0)
constexpr

Definition at line 73 of file numerical.hpp.

◆ zero

template<typename T >
constexpr T neolib::math::constants::zero = static_cast<T>(0.0)
constexpr

Definition at line 69 of file numerical.hpp.