pub unsafe extern "C" fn SDL_HasIntersection(
    A: *const SDL_Rect,
    B: *const SDL_Rect
) -> SDL_bool
Expand description

Determine whether two rectangles intersect.

If either pointer is NULL the function will return SDL_FALSE.

\param A an SDL_Rect structure representing the first rectangle \param B an SDL_Rect 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.0.

\sa SDL_IntersectRect