mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-22 12:48:28 +00:00
Remove const from parameter of inline function SDL_RectsEqualEpsilon()
This commit is contained in:
parent
07c22da464
commit
8527d042bc
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ SDL_FORCE_INLINE bool SDL_RectEmptyFloat(const SDL_FRect *r)
|
||||||
*
|
*
|
||||||
* \sa SDL_RectsEqualFloat
|
* \sa SDL_RectsEqualFloat
|
||||||
*/
|
*/
|
||||||
SDL_FORCE_INLINE bool SDL_RectsEqualEpsilon(const SDL_FRect *a, const SDL_FRect *b, const float epsilon)
|
SDL_FORCE_INLINE bool SDL_RectsEqualEpsilon(const SDL_FRect *a, const SDL_FRect *b, float epsilon)
|
||||||
{
|
{
|
||||||
return (a && b && ((a == b) ||
|
return (a && b && ((a == b) ||
|
||||||
((SDL_fabsf(a->x - b->x) <= epsilon) &&
|
((SDL_fabsf(a->x - b->x) <= epsilon) &&
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue