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