Mathter
A configurable 3D math library for game developers.
Static Public Attributes | List of all members
mathter::Constants< Scalar > Class Template Reference

Accurate mathematical constants. More...

#include <Utility.hpp>

Static Public Attributes

static constexpr Scalar Pi = (Scalar)3.1415926535897932384626433832795028841971693993751
 
static constexpr Scalar PiHalf = (Scalar)1.5707963267948966192313216916397514420985846996876
 
static constexpr Scalar PiFourth = (Scalar)0.78539816339744830961566084581987572104929234984378
 
static constexpr Scalar E = (Scalar)2.7182818284590452353602874713526624977572470937
 
static constexpr Scalar Sqrt2 = (Scalar)1.4142135623730950488016887242096980785696718753769
 
static constexpr Scalar SqrtHalf = (Scalar)0.70710678118654752440084436210484903928483593768847
 

Detailed Description

template<class Scalar>
class mathter::Constants< Scalar >

Accurate mathematical constants.

Member Data Documentation

◆ E

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::E = (Scalar)2.7182818284590452353602874713526624977572470937
static

◆ Pi

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::Pi = (Scalar)3.1415926535897932384626433832795028841971693993751
static

◆ PiFourth

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::PiFourth = (Scalar)0.78539816339744830961566084581987572104929234984378
static

◆ PiHalf

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::PiHalf = (Scalar)1.5707963267948966192313216916397514420985846996876
static

◆ Sqrt2

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::Sqrt2 = (Scalar)1.4142135623730950488016887242096980785696718753769
static

◆ SqrtHalf

template<class Scalar>
constexpr Scalar mathter::Constants< Scalar >::SqrtHalf = (Scalar)0.70710678118654752440084436210484903928483593768847
static

The documentation for this class was generated from the following file: