diff options
author | John Mayhew | 2012-04-02 14:57:31 -0700 |
---|---|---|
committer | John Mayhew | 2012-04-02 14:57:31 -0700 |
commit | fb0a659c9ca3479fd6799325498b11f074689936 (patch) | |
tree | 46342298281aa93e48756e040715f42770ccc526 /js/lib/geom/line.js | |
parent | c24f58c10231c30d3a8a4c9fb9a4f395dd746180 (diff) | |
download | ninja-fb0a659c9ca3479fd6799325498b11f074689936.tar.gz |
-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
Diffstat (limited to 'js/lib/geom/line.js')
-rwxr-xr-x | js/lib/geom/line.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/geom/line.js b/js/lib/geom/line.js index da63b21c..e8d967f0 100755 --- a/js/lib/geom/line.js +++ b/js/lib/geom/line.js | |||
@@ -167,7 +167,7 @@ var Line = function GLLine( world, xOffset, yOffset, width, height, slope, strok | |||
167 | if (!world._useWebGL) return; | 167 | if (!world._useWebGL) return; |
168 | 168 | ||
169 | // make sure RDGE has the correct context | 169 | // make sure RDGE has the correct context |
170 | g_Engine.setContext( world.getCanvas().rdgeid ); | 170 | RDGE.globals.engine.setContext( world.getCanvas().rdgeid ); |
171 | 171 | ||
172 | // create the gl buffer | 172 | // create the gl buffer |
173 | var gl = world.getGLContext(); | 173 | var gl = world.getGLContext(); |
@@ -328,7 +328,7 @@ var Line = function GLLine( world, xOffset, yOffset, width, height, slope, strok | |||
328 | indices.push( index ); index++; | 328 | indices.push( index ); index++; |
329 | } | 329 | } |
330 | 330 | ||
331 | var prim = ShapePrimitive.create(strokeVertices, strokeNormals, strokeTextures, indices, g_Engine.getContext().renderer.TRIANGLES, indices.length); | 331 | var prim = ShapePrimitive.create(strokeVertices, strokeNormals, strokeTextures, indices, RDGE.globals.engine.getContext().renderer.TRIANGLES, indices.length); |
332 | 332 | ||
333 | var strokeMaterial = this.makeStrokeMaterial(); | 333 | var strokeMaterial = this.makeStrokeMaterial(); |
334 | 334 | ||