Mercurial > sdl-ios-xcode
comparison src/video/SDL_rect.c @ 2920:cdb01906cb7e
indent
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 25 Dec 2008 05:26:29 +0000 |
parents | 3da0bb421d83 |
children | 7563b99e9a49 |
comparison
equal
deleted
inserted
replaced
2919:2f91a3847ae8 | 2920:cdb01906cb7e |
---|---|
117 Amax = Bmax; | 117 Amax = Bmax; |
118 result->h = Amax - Amin; | 118 result->h = Amax - Amin; |
119 } | 119 } |
120 | 120 |
121 SDL_bool | 121 SDL_bool |
122 SDL_IntersectRectAndLine(const SDL_Rect *rect, int *X1, int *Y1, int *X2, int *Y2) | 122 SDL_IntersectRectAndLine(const SDL_Rect * rect, int *X1, int *Y1, int *X2, |
123 int *Y2) | |
123 { | 124 { |
124 int x1, y1; | 125 int x1, y1; |
125 int x2, y2; | 126 int x2, y2; |
126 int rectx1; | 127 int rectx1; |
127 int recty1; | 128 int recty1; |