Function fermium::rect::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
Calculate the intersection of two rectangles.
Return: SDL_TRUE
if there is an intersection, SDL_FALSE
otherwise.