From efb2d293d5e849fc96e4e386d55a7611795561aa Mon Sep 17 00:00:00 2001 From: omnisci3nce Date: Fri, 19 Jul 2024 15:52:14 +1000 Subject: clean up texture type handling a little bit --- src/maths/maths.h | 4 ++-- src/maths/maths_types.h | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'src/maths') 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 */ -- cgit v1.2.3-70-g09d2