mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-09 19:36:29 +00:00
SDL API renaming: *Is* functions
Feedback from @icculus: "IsTablet" uses "is" as a form of "to be" ...like, the actual question is of its nature. The rest is just a superfluous word in the question and it flows as better English with if (RectEmpty) than if (IsRectEmpty) Fixes https://github.com/libsdl-org/SDL/issues/6932
This commit is contained in:
@@ -92,7 +92,7 @@ SDL_GetSpanEnclosingRect(int width, int height,
|
||||
#define COMPUTEOUTCODE ComputeOutCode
|
||||
#define SDL_HASINTERSECTION SDL_HasRectIntersection
|
||||
#define SDL_INTERSECTRECT SDL_GetRectIntersection
|
||||
#define SDL_RECTEMPTY SDL_IsRectEmpty
|
||||
#define SDL_RECTEMPTY SDL_RectEmpty
|
||||
#define SDL_UNIONRECT SDL_GetRectUnion
|
||||
#define SDL_ENCLOSEPOINTS SDL_GetRectEnclosingPoints
|
||||
#define SDL_INTERSECTRECTANDLINE SDL_GetRectAndLineIntersection
|
||||
@@ -104,7 +104,7 @@ SDL_GetSpanEnclosingRect(int width, int height,
|
||||
#define COMPUTEOUTCODE ComputeOutCodeF
|
||||
#define SDL_HASINTERSECTION SDL_HasRectIntersectionF
|
||||
#define SDL_INTERSECTRECT SDL_GetRectIntersectionF
|
||||
#define SDL_RECTEMPTY SDL_IsRectEmptyF
|
||||
#define SDL_RECTEMPTY SDL_RectEmptyF
|
||||
#define SDL_UNIONRECT SDL_GetRectUnionF
|
||||
#define SDL_ENCLOSEPOINTS SDL_GetRectEnclosingPointsF
|
||||
#define SDL_INTERSECTRECTANDLINE SDL_GetRectAndLineIntersectionF
|
||||
|
Reference in New Issue
Block a user