mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Define EPSILONs only if not already defined
Fixes OSX buildbot
This commit is contained in:
parent
52b6810ee1
commit
59ac969594
1 changed files with 5 additions and 0 deletions
|
|
@ -411,8 +411,13 @@ INT32 I_GetKey(void);
|
|||
#endif
|
||||
|
||||
// Floating point comparison epsilons from float.h
|
||||
#ifndef FLT_EPSILON
|
||||
#define FLT_EPSILON 1.1920928955078125e-7f
|
||||
#endif
|
||||
|
||||
#ifndef DBL_EPSILON
|
||||
#define DBL_EPSILON 2.2204460492503131e-16
|
||||
#endif
|
||||
|
||||
// An assert-type mechanism.
|
||||
#ifdef PARANOIA
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue