MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_FRectEmpty

Function SDL_FRectEmpty

deps/SDL2/src/render/SDL_render.c:2875–2878  ·  view source on GitHub ↗

!!! FIXME: move this to a public API if we want to do float versions of all of these later */

Source from the content-addressed store, hash-verified

2873
2874/* !!! FIXME: move this to a public API if we want to do float versions of all of these later */
2875SDL_FORCE_INLINE SDL_bool SDL_FRectEmpty(const SDL_FRect *r)
2876{
2877 return ((!r) || (r->w <= 0.0f) || (r->h <= 0.0f)) ? SDL_TRUE : SDL_FALSE;
2878}
2879
2880/* !!! FIXME: move this to a public API if we want to do float versions of all of these later */
2881static SDL_bool

Callers 1

SDL_HasIntersectionFFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected