Function fermium::rect::SDL_IntersectRect[][src]

pub unsafe extern "C" fn SDL_IntersectRect(
    A: *const SDL_Rect,
    B: *const SDL_Rect,
    result: *mut SDL_Rect
) -> SDL_bool

Calculate the intersection of two rectangles.

Return: SDL_TRUE if there is an intersection, SDL_FALSE otherwise.