Mercurial > sdl-ios-xcode
comparison src/video/SDL_rect.c @ 5157:fb424691cfc7
Moved the rendering code out to a separate directory in the hope that it can someday be completely decoupled from the rest of the library and be expanded to an awesome 2D on 3D library.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 02 Feb 2011 14:34:54 -0800 |
parents | 0a5dbe96c3be |
children | 307ccc9c135e |
comparison
equal
deleted
inserted
replaced
5156:3e4086b3bcd2 | 5157: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; |