(SDL3バージョンはSDL3/SDL_GetRectIntersectionを参照すること)
SDL_bool SDL_IntersectRect(const SDL_Rect* A, const SDL_Rect* B, SDL_Rect* result)