summaryrefslogtreecommitdiff
path: root/src/common.cuh
diff options
context:
space:
mode:
authorbrett weiland <brettsweiland@gmail.com>2024-06-01 16:58:25 -0500
committerbrett weiland <brettsweiland@gmail.com>2024-06-01 16:58:25 -0500
commitc05aa71f402abb3b0f05a40fa61e6159cf87ebd6 (patch)
tree12bcabc50251f5df0687440639339df3036c1db7 /src/common.cuh
parentb0dd97ee6bf8d5daa587da40ad941efac68152df (diff)
project is deadHEADmaster
Diffstat (limited to 'src/common.cuh')
-rw-r--r--src/common.cuh2
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__))