diff options
author | Stephen Hines <srhines@google.com> | 2011-03-01 17:34:59 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2011-03-03 16:12:43 -0800 |
commit | 1bf1f8df178170ee3d4224f3c92a1b724d783178 (patch) | |
tree | db5f215ea7f56536aab50df6655346ee98cfc116 /libs/rs/rsScriptC_Lib.cpp | |
parent | 3080b85c2ef8846099ae86cd8fea65592a6a591d (diff) |
DO NOT MERGE: Almost all warnings are now errors in RS build.
Change-Id: Ie4952cdf5c75bf1b7a7899a32b3b1f8747686356
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(); |