pbpt
Loading...
Searching...
No Matches
global.hpp
Go to the documentation of this file.
1
#pragma once
2
12
13
namespace
pbpt::math
{
14
26
#ifdef FLOAT_64BIT
27
using
Float
= double;
28
#else
29
using
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
pbpt::math
The namespace for math library implementation.
Definition
bounding_box.hpp:9
pbpt::math::Float
float Float
The primary floating-point type used throughout the math library.
Definition
global.hpp:29
engine
math
global.hpp
Generated by
1.14.0