diff options
author | brett weiland <brettsweiland@gmail.com> | 2024-06-01 16:58:25 -0500 |
---|---|---|
committer | brett weiland <brettsweiland@gmail.com> | 2024-06-01 16:58:25 -0500 |
commit | c05aa71f402abb3b0f05a40fa61e6159cf87ebd6 (patch) | |
tree | 12bcabc50251f5df0687440639339df3036c1db7 /src/common.cuh | |
parent | b0dd97ee6bf8d5daa587da40ad941efac68152df (diff) |
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__)) |