@@ -9,6 +9,8 @@
namespace bx
{
+ float sqrt(float);
+
#define ELEMx 0
#define ELEMy 1
#define ELEMz 2
@@ -7,10 +7,11 @@
# error "Must be included from bx/simd_t.h!"
#endif // BX_SIMD_T_H_HEADER_GUARD
-#include <bx/math.h>
-
+ float rsqrt(float);
@@ -26,6 +26,8 @@ namespace bx
extern const float kE;
extern const float kNearZero;
extern const float kInfinity;
+ extern const float kFloatMin;
+ extern const float kFloatMax;
///
typedef float (*LerpFn)(float _a, float _b, float _t);
@@ -174,7 +174,6 @@ namespace bx
static const float kExpC2 = 6.61375632143793436117e-05f;
static const float kExpC3 = -1.65339022054652515390e-06f;
static const float kExpC4 = 4.13813679705723846039e-08f;
- static const float kExpMax = 7.09782712893383973096e+02f;
} // namespace