neoGFX
Cross-platform C++ app/game engine
neogfx::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)
 

Variable Documentation

◆ one

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

Definition at line 48 of file numerical.hpp.

◆ two

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

Definition at line 50 of file numerical.hpp.

◆ zero

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

Definition at line 46 of file numerical.hpp.