diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 15:52:14 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-19 15:52:14 +1000 |
commit | efb2d293d5e849fc96e4e386d55a7611795561aa (patch) | |
tree | cf4a2054a868ec4757a60c217d64b85413bc5766 /src/maths | |
parent | 82515f9d90ac149984013f0d64c1cab37b349b29 (diff) |
clean up texture type handling a little bit
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 */ |