Determine whether two rectangles intersect with float precision.
Defined in <SDL3/SDL_rect.h>
bool SDL_HasRectIntersectionFloat(const SDL_FRect *A, const SDL_FRect *B);
const SDL_FRect * | A | an SDL_FRect structure representing the first rectangle. |
const SDL_FRect * | B | an SDL_FRect structure representing the second rectangle. |
(bool) Returns true if there is an intersection, false otherwise.
If either pointer is NULL the function will return false.
This function is available since SDL 3.1.3.