Fixed SDL3 functions names.
This commit is contained in:
parent
34ee7e2a57
commit
a4b970636b
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue