Function sdl2_sys::SDL_IntersectRect
source ยท pub unsafe extern "C" fn SDL_IntersectRect(
A: *const SDL_Rect,
B: *const SDL_Rect,
result: *mut SDL_Rect,
) -> SDL_bool
Expand description
\brief Calculate the intersection of two rectangles.
\return SDL_TRUE if there is an intersection, SDL_FALSE otherwise.