diff options
Diffstat (limited to 'src/maths')
-rw-r--r-- | src/maths/maths.h | 4 | ||||
-rw-r--r-- | src/maths/maths_types.h | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/maths/maths.h b/src/maths/maths.h index 3a8f34c..cd5b7b9 100644 --- a/src/maths/maths.h +++ b/src/maths/maths.h @@ -15,8 +15,8 @@ // --- Helpers #define deg_to_rad(x) (x * 3.14 / 180.0) -#define min(a, b) (a < b ? a : b) -#define max(a, b) (a > b ? a : b) +#define MIN(a, b) (a < b ? a : b) +#define MAX(a, b) (a > b ? a : b) // --- Vector Implementations diff --git a/src/maths/maths_types.h b/src/maths/maths_types.h index f256a9b..3fa3dac 100644 --- a/src/maths/maths_types.h +++ b/src/maths/maths_types.h @@ -14,11 +14,6 @@ #define HALF_PI 1.57079632679489661923 #define TAU (2.0 * PI) -// --- Helpers -#define deg_to_rad(x) (x * 3.14 / 180.0) -#define min(a, b) (a < b ? a : b) -#define max(a, b) (a > b ? a : b) - // --- Types /** @brief 2D Vector */ |