Function sdl2_sys::SDL_HasIntersection

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

\brief Determine whether two rectangles intersect.

\return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.