From fb0a659c9ca3479fd6799325498b11f074689936 Mon Sep 17 00:00:00 2001 From: John Mayhew Date: Mon, 2 Apr 2012 14:57:31 -0700 Subject: -Namespaced all RDGE javascript. -Removed the following unused files from the build script /core/script/fx/blur.js /core/script/fx/ssao.js /core/script/animation.js - Fully removed the following from the build and from source control as they are unused or no longer needed /core/script/util/dbgpanel.js /core/script/util/fpsTracker.js /core/script/util/statTracker.js /core/script/input.js /core/script/TextureManager.js /core/script/ubershader.js --- .../RDGE/src/core/script/ScreenQuad.js | 32 ++++++++++------------ 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'js/helper-classes/RDGE/src/core/script/ScreenQuad.js') diff --git a/js/helper-classes/RDGE/src/core/script/ScreenQuad.js b/js/helper-classes/RDGE/src/core/script/ScreenQuad.js index 2368d97a..6359f82e 100755 --- a/js/helper-classes/RDGE/src/core/script/ScreenQuad.js +++ b/js/helper-classes/RDGE/src/core/script/ScreenQuad.js @@ -4,28 +4,26 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. */ +// RDGE namespaces +var RDGE = RDGE || {}; -function ScreenQuad(texture) -{ - this.vertBuffer = null; - this.uvBuffer = null; - this.texture = texture; - this.shader = null; - this.renderObj = null; -} +RDGE.ScreenQuad = function (texture) { + this.vertBuffer = null; + this.uvBuffer = null; + this.texture = texture; + this.shader = null; + this.renderObj = null; +}; -ScreenQuad.prototype.initialize = function(initProc, shaderOpt) -{ - initProc(this, shaderOpt); +RDGE.ScreenQuad.prototype.initialize = function (initProc, shaderOpt) { + initProc(this, shaderOpt); }; -ScreenQuad.prototype.setTexture = function(texture) -{ - this.texture = texture; +RDGE.ScreenQuad.prototype.setTexture = function (texture) { + this.texture = texture; }; -ScreenQuad.prototype.render = function(renderProc) -{ - renderProc(this); +RDGE.ScreenQuad.prototype.render = function (renderProc) { + renderProc(this); }; \ No newline at end of file -- cgit v1.2.3