summaryrefslogtreecommitdiff
path: root/source/math.h
diff options
context:
space:
mode:
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