summaryrefslogtreecommitdiff
path: root/source/math.h
diff options
context:
space:
mode:
authortalha <sarcxd@gmail.com>2025-02-10 17:22:15 +0500
committertalha <sarcxd@gmail.com>2025-02-10 17:22:15 +0500
commitcd423cbf547b72d6360fa574664ca7bc612e3cc2 (patch)
treee5d0090427bfbd20c9569c84a453383526901f4d /source/math.h
parent328e5d1bfd1b30ed3ded1737c80dd6ad139cbebc (diff)
improved gravity flipping block
Diffstat (limited to 'source/math.h')
-rwxr-xr-xsource/math.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/math.h b/source/math.h
index ff76c0e..b189c89 100755
--- a/source/math.h
+++ b/source/math.h
@@ -9,6 +9,7 @@
#define TO_DEG(x) ((x) * 180.0f / PI)
#define ABS(x) ((x) < 0 ? (-(x)) : (x))
#define MIN(x,y) ((x) < (y) ? (x) : (y))
+#define MAX(x,y) ((x) > (y) ? (x) : (y))
// @todo:
// - make everything simd