diff options
Diffstat (limited to 'libs/rs/rsScriptC_Lib.cpp')
-rw-r--r-- | libs/rs/rsScriptC_Lib.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC_Lib.cpp b/libs/rs/rsScriptC_Lib.cpp index 80da8aeed8af..7c6418413ac5 100644 --- a/libs/rs/rsScriptC_Lib.cpp +++ b/libs/rs/rsScriptC_Lib.cpp @@ -35,6 +35,7 @@ using namespace android::renderscript; // Math routines ////////////////////////////////////////////////////////////////////////////// +#if 0 static float SC_sinf_fast(float x) { const float A = 1.0f / (2.0f * M_PI); const float B = -16.0f; @@ -70,6 +71,7 @@ static float SC_cosf_fast(float x) { const float y = B * x * fabsf(x) + C * x; return 0.2215f * (y * fabsf(y) - y) + y; } +#endif static float SC_randf(float max) { float r = (float)rand(); |