summaryrefslogtreecommitdiff
path: root/Runtime/Math/MathHelper.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-04 12:48:01 +0800
committerchai <chaifix@163.com>2021-11-04 12:48:01 +0800
commit94a9a28de16badb75e66a60efca3b01d31cc0fc6 (patch)
treea37e09236da2b7cda11a451d6fed4fe37afb065c /Runtime/Math/MathHelper.h
parentb215d811a1981e20f35bb31df4e6cd2a74146193 (diff)
* text anchor
Diffstat (limited to 'Runtime/Math/MathHelper.h')
-rw-r--r--Runtime/Math/MathHelper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/Math/MathHelper.h b/Runtime/Math/MathHelper.h
index c41eec9..ad64dcf 100644
--- a/Runtime/Math/MathHelper.h
+++ b/Runtime/Math/MathHelper.h
@@ -1,7 +1,7 @@
#pragma once
#define max(a, b)\
-(a)>(b)?(a):(b)
+((a)>(b)?(a):(b))
#define min(a, b)\
(a)<(b)?(a):(b)