summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index e9a11de..b919afb 100644
--- a/defines.h
+++ b/defines.h
@@ -15,6 +15,9 @@ typedef uint64_t uint64;
typedef float real32;
typedef double real64;
+// is there a compiler variable for 32 vs 64 bit like this?
+typedef uint64 ptrsize;
+
#define NORMALIZED_COL_MIN { .col = V4(0.0f, 0.0f, 0.0f, 0.0f) }
#define NORMALIZED_COL_MAX { .col = V4(1.0f, 1.0f, 1.0f, 1.0f) }
#define NORMALIZED_REAL_MIN { 0.0f }