Function sdl2_sys::SDL_HasIntersectionF
source ยท pub unsafe extern "C" fn SDL_HasIntersectionF(
A: *const SDL_FRect,
B: *const SDL_FRect,
) -> SDL_bool
Expand description
Determine whether two rectangles intersect with float precision.
If either pointer is NULL the function will return SDL_FALSE.
\param A an SDL_FRect structure representing the first rectangle \param B an SDL_FRect structure representing the second rectangle \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
\since This function is available since SDL 2.0.22.
\sa SDL_IntersectRect