mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 21:37:43 +08:00
Added documentation for SDL_FLT_EPSILON (thanks @MrOnlineCoder!)
Closes https://github.com/libsdl-org/sdlwiki/pull/549
This commit is contained in:
@@ -279,6 +279,9 @@ typedef Sint64 SDL_Time;
|
|||||||
*/
|
*/
|
||||||
/* @{ */
|
/* @{ */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Epsilon constant, used for comparing floating-point numbers. Equals by default to platform-defined FLT_EPSILON, or 1.1920928955078125e-07F if that's not available.
|
||||||
|
*/
|
||||||
#ifdef FLT_EPSILON
|
#ifdef FLT_EPSILON
|
||||||
#define SDL_FLT_EPSILON FLT_EPSILON
|
#define SDL_FLT_EPSILON FLT_EPSILON
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user