Fixed Android build.

This commit is contained in:
Branimir Karadžić
2018-01-29 16:36:37 -08:00
parent 4b676b011c
commit 672a39f4f4
4 changed files with 7 additions and 3 deletions

View File

@@ -9,6 +9,8 @@
namespace bx
{
float sqrt(float);
#define ELEMx 0
#define ELEMy 1
#define ELEMz 2

View File

@@ -7,10 +7,11 @@
# error "Must be included from bx/simd_t.h!"
#endif // BX_SIMD_T_H_HEADER_GUARD
#include <bx/math.h>
namespace bx
{
float sqrt(float);
float rsqrt(float);
#define ELEMx 0
#define ELEMy 1
#define ELEMz 2

View File

@@ -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);

View File

@@ -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