Returns true if the two rectangles are equal, within some given epsilon.
Defined in SDL_rect.h
const SDL_FRect *a, const SDL_FRect *b, const float epsilon); SDL_FORCE_INLINE SDL_bool SDL_FRectEqualsEpsilon(
const SDL_FRect * | a | the first rectangle to test. |
const SDL_FRect * | b | the second rectangle to test. |
const float | epsilon | the epsilon value for comparison. |
(SDL_bool) Returns SDL_TRUE if the rectangles are equal, SDL_FALSE otherwise.
This function is available since SDL 2.0.22.