SDL_HasRectIntersectionFloat3
Determine whether two rectangles intersect with float precision.
Usage
#include "SDL3/SDL.h"
bool SDL_HasRectIntersectionFloat(const SDL_FRect *A, const SDL_FRect *B);
Header file
Defined in SDL3/SDL_rect.h
Overview
If either pointer is NULL the function will return false.
Function parameters
A
|
an |
|---|---|
B
|
an |
Return value
Returns true if there is an intersection, false otherwise.