summaryrefslogtreecommitdiff
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.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/math/math_defs.h b/core/math/math_defs.h
index feaff38a44..08f4e27e64 100644
--- a/core/math/math_defs.h
+++ b/core/math/math_defs.h
@@ -30,11 +30,11 @@
#define MATH_DEFS_H
#define CMP_EPSILON 0.00001
-#define CMP_EPSILON2 (CMP_EPSILON*CMP_EPSILON)
+#define CMP_EPSILON2 (CMP_EPSILON * CMP_EPSILON)
#define CMP_NORMALIZE_TOLERANCE 0.000001
#define CMP_POINT_IN_PLANE_EPSILON 0.00001
-#define USEC_TO_SEC(m_usec) ((m_usec)/1000000.0)
+#define USEC_TO_SEC(m_usec) ((m_usec) / 1000000.0)
/**
* "Real" is a type that will be translated to either floats or fixed depending
* on the compilation setting
@@ -42,11 +42,10 @@
enum ClockDirection {
- CLOCKWISE,
+ CLOCKWISE,
COUNTERCLOCKWISE
};
-
#ifdef REAL_T_IS_DOUBLE
typedef double real_t;
@@ -57,5 +56,4 @@ typedef float real_t;
#endif
-
#endif // MATH_DEFS_H