]> git.localhorst.tv Git - blobs.git/blob - src/math/const.hpp
add ray/box intersect test
[blobs.git] / src / math / const.hpp
1 #ifndef BLOBS_MATH_CONST_HPP_
2 #define BLOBS_MATH_CONST_HPP_
3
4
5 namespace blobs {
6
7 constexpr double PI = 3.141592653589793238462643383279502884;
8 constexpr double PI_inv = 1.0 / PI;
9
10 /// gravitational constant
11 constexpr double G = 6.674e-11; // m³kg¯¹s¯²
12
13 }
14
15 #endif