From a4b970636b33055716c2a90441ae11aefb680714 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Tue, 4 Aug 2026 21:01:55 +0200 Subject: [PATCH] Fixed SDL3 functions names. --- src/headers/vector2d.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/headers/vector2d.h b/src/headers/vector2d.h index 0a5d7be..e95e329 100644 --- a/src/headers/vector2d.h +++ b/src/headers/vector2d.h @@ -97,7 +97,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect); * * @return True if there is an intersection, else false. */ -#define has_intersection(A, B) SDL_HasIntersection(A, B) +#define has_intersection(A, B) SDL_HasRectIntersection(A, B) /** * @brief Verify if there is a intersction between two rectangles. (float) @@ -107,7 +107,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect); * * @return True if there is an intersection, else false. */ -#define fhas_intersection(A, B) SDL_HasIntersectionF(A, B) +#define fhas_intersection(A, B) SDL_HasRectIntersectionFloat(A, B) /** * @brief Verify if there is an intersection between two rectangles and get the intersection rectangle. (int)