avoid warnings about DBL_EPSILON redefinition in vecmat3
This commit is contained in:
parent
c0ce70fbc0
commit
eaa0094948
@ -33,12 +33,16 @@
|
|||||||
|
|
||||||
namespace LA_Vecmat3 {
|
namespace LA_Vecmat3 {
|
||||||
|
|
||||||
|
#ifndef DBL_EPSILON
|
||||||
|
|
||||||
#ifdef NO_NUMERIC_LIMITS
|
#ifdef NO_NUMERIC_LIMITS
|
||||||
#define DBL_EPSILON 1.19209290e-07f
|
#define DBL_EPSILON 1.19209290e-07f
|
||||||
#else
|
#else
|
||||||
#define DBL_EPSILON std::numeric_limits<T>::epsilon()
|
#define DBL_EPSILON std::numeric_limits<T>::epsilon()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
float fast_sqrtinv(float);
|
float fast_sqrtinv(float);
|
||||||
|
Loading…
Reference in New Issue
Block a user