diff --git a/vecmat3.h b/vecmat3.h index e047c14..d5ca0c6 100644 --- a/vecmat3.h +++ b/vecmat3.h @@ -33,12 +33,16 @@ namespace LA_Vecmat3 { +#ifndef DBL_EPSILON + #ifdef NO_NUMERIC_LIMITS #define DBL_EPSILON 1.19209290e-07f #else #define DBL_EPSILON std::numeric_limits::epsilon() #endif +#endif + float fast_sqrtinv(float);