diff options
author | Jason Sams <rjsams@android.com> | 2009-06-16 17:49:58 -0700 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-06-16 17:49:58 -0700 |
commit | 56bc1af0a040b003164e3394f1c7a277b15e7d85 (patch) | |
tree | 788698eb5b5f072338b9b6f7c739a1e034adf944 /rsScriptC.cpp | |
parent | 2a1cc8f23454ca64ceb90427c65959149f593a0d (diff) | |
download | rs-56bc1af0a040b003164e3394f1c7a277b15e7d85.tar.gz |
Switch fountain to use ProgramVertex rather than hard coded camers in scripts. Remove camera code from scripts.
Diffstat (limited to 'rsScriptC.cpp')
-rw-r--r-- | rsScriptC.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/rsScriptC.cpp b/rsScriptC.cpp index d29eb9ff..29638311 100644 --- a/rsScriptC.cpp +++ b/rsScriptC.cpp @@ -428,7 +428,6 @@ void ScriptCState::clear() mEnviroment.mClearDepth = 1; mEnviroment.mClearStencil = 0; mEnviroment.mIsRoot = false; - mEnviroment.mIsOrtho = true; mAccScript = NULL; @@ -556,12 +555,6 @@ void rsi_ScriptCSetRoot(Context * rsc, bool isRoot) ss->mEnviroment.mIsRoot = isRoot; } -void rsi_ScriptCSetOrtho(Context * rsc, bool isOrtho) -{ - ScriptCState *ss = &rsc->mScriptC; - ss->mEnviroment.mIsOrtho = isOrtho; -} - void rsi_ScriptCSetText(Context *rsc, const char *text, uint32_t len) { ScriptCState *ss = &rsc->mScriptC; |