summaryrefslogtreecommitdiffstats
path: root/core/math/math_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/math/math_defs.h')
-rw-r--r--core/math/math_defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/math/math_defs.h b/core/math/math_defs.h
index 1a5768e515..3d9eb63e11 100644
--- a/core/math/math_defs.h
+++ b/core/math/math_defs.h
@@ -35,6 +35,10 @@
#define CMP_NORMALIZE_TOLERANCE 0.000001
#define CMP_POINT_IN_PLANE_EPSILON 0.00001
+#ifdef DEBUG_ENABLED
+#define MATH_CHECKS
+#endif
+
#define USEC_TO_SEC(m_usec) ((m_usec) / 1000000.0)
/**
* "Real" is a type that will be translated to either floats or fixed depending