]> git.localhorst.tv Git - blank.git/blob - src/geometry/const.hpp
add frame statistics printout
[blank.git] / src / geometry / const.hpp
1 #ifndef BLANK_GEOMETRY_CONST_HPP_
2 #define BLANK_GEOMETRY_CONST_HPP_
3
4
5 namespace blank {
6
7 constexpr float PI = 3.141592653589793238462643383279502884;
8 constexpr float PI_0p25 = PI * 0.25f;
9 constexpr float PI_0p5 = PI * 0.5f;
10 constexpr float PI_1p5 = PI * 1.5f;
11 constexpr float PI_2p0 = PI * 2.0f;
12
13 constexpr float PI_inv = 1.0f / PI;
14 constexpr float PI_0p5_inv = 1.0f / PI_0p5;
15
16 }
17
18 #endif