pbpt
Loading...
Searching...
No Matches
global.hpp
Go to the documentation of this file.
1#pragma once
2
12
13namespace pbpt::math {
14
26#ifdef FLOAT_64BIT
27using Float = double;
28#else
29using Float = float;
30#endif
31
38#ifdef FLOAT_64BIT
39#define EPSILON 1e-12
40#else
41#define EPSILON 1e-6
42#endif
43
44} // namespace math
The namespace for math library implementation.
Definition bounding_box.hpp:9
float Float
The primary floating-point type used throughout the math library.
Definition global.hpp:29