diff options
Diffstat (limited to 'src/common.cuh')
-rw-r--r-- | src/common.cuh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.cuh b/src/common.cuh index 9e026f4..2897213 100644 --- a/src/common.cuh +++ b/src/common.cuh @@ -2,6 +2,7 @@ #define COMMON_H #include "include/helper_math.h" +#include <float.h> /** @@ -35,6 +36,7 @@ ways, so I'm switching over to typedefs. **/ typedef float2 vect2; typedef float3 vect3; typedef float T; +#define T_MAX FLT_MAX #define make_vect3(...) (make_float3(__VA_ARGS__)) |