Determine whether two rectangles intersect.
Defined in <SDL3/SDL_rect.h>
A | an SDL_Rect structure representing the first rectangle |
B | an SDL_Rect structure representing the second rectangle |
Returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
If either pointer is NULL the function will return SDL_FALSE.
It is safe to call this function from any thread.
This function is available since SDL 3.0.0.