src/video/SDL_rect.c
changeset 5154 fb424691cfc7
parent 4456 0a5dbe96c3be
child 5156 307ccc9c135e
equal deleted inserted replaced
5153:3e4086b3bcd2 5154:fb424691cfc7
    19     Sam Lantinga
    19     Sam Lantinga
    20     slouken@libsdl.org
    20     slouken@libsdl.org
    21 */
    21 */
    22 #include "SDL_config.h"
    22 #include "SDL_config.h"
    23 
    23 
    24 #include "SDL_video.h"
    24 #include "SDL_rect.h"
    25 #include "SDL_rect_c.h"
       
    26 
    25 
    27 SDL_bool
    26 SDL_bool
    28 SDL_HasIntersection(const SDL_Rect * A, const SDL_Rect * B)
    27 SDL_HasIntersection(const SDL_Rect * A, const SDL_Rect * B)
    29 {
    28 {
    30     int Amin, Amax, Bmin, Bmax;
    29     int Amin, Amax, Bmin, Bmax;