We can use sincosf again on Android - the bug in the NDK has been fixed.

This commit is contained in:
Henrik Rydgard 2014-12-07 11:53:14 +01:00
parent a893c213de
commit 37413f8119

View File

@ -48,7 +48,7 @@ inline float vfpu_cos(float angle) {
inline void vfpu_sincos(float angle, float &sine, float &cosine) {
angle -= floorf(angle * 0.25f) * 4.f;
angle *= (float)M_PI_2;
#if defined(__linux__) && !defined(ANDROID) // TODO: Remove this check when we upgrade NDK on the buildbot
#if defined(__linux__)
sincosf(angle, &sine, &cosine);
#else
sine = sinf(angle);