Corrected other sdl function names.
This commit is contained in:
parent
d648bcbb9b
commit
1f3a17a465
|
|
@ -118,7 +118,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect);
|
|||
*
|
||||
* @return True if there is an intersection, else false.
|
||||
*/
|
||||
#define intersect_rect(A, B, result) SDL_IntersectRect(A, B, result)
|
||||
#define intersect_rect(A, B, result) SDL_GetRectIntersection(A, B, result)
|
||||
|
||||
/**
|
||||
* @brief Verify if there is an intersection between two rectangles and get the intersection rectangle. (float)
|
||||
|
|
@ -129,7 +129,7 @@ void frect_to_rect(const frect_t *frect, rect_t *rect);
|
|||
*
|
||||
* @return True if there is an intersection, else false.
|
||||
*/
|
||||
#define intersect_frect(A, B, result) SDL_IntersectFRect(A, B, result)
|
||||
#define intersect_frect(A, B, result) SDL_GetRectIntersectionFloat(A, B, result)
|
||||
|
||||
float lerp(float a, float b, float t);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue