diff options
author | Valerio Virgillito | 2012-08-20 23:35:03 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-08-20 23:35:03 -0700 |
commit | 22191240b09a98d134cebe36f3bc79803c5ceab4 (patch) | |
tree | a88c6b967549c557f0c0654e367dfd5908dc8361 /js/lib/rdge/materials | |
parent | 36d692a9fb216f2785a570d13c1beb27360c7305 (diff) | |
download | ninja-22191240b09a98d134cebe36f3bc79803c5ceab4.tar.gz |
removing unnecessary references to the tag tool.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/lib/rdge/materials')
-rw-r--r-- | js/lib/rdge/materials/cloud-material.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/lib/rdge/materials/cloud-material.js b/js/lib/rdge/materials/cloud-material.js index 748e26dd..11372d12 100644 --- a/js/lib/rdge/materials/cloud-material.js +++ b/js/lib/rdge/materials/cloud-material.js | |||
@@ -34,7 +34,6 @@ var Material = require("js/lib/rdge/materials/material").Material; | |||
34 | var GLWorld = require("js/lib/drawing/world").World; | 34 | var GLWorld = require("js/lib/drawing/world").World; |
35 | var Texture = require("js/lib/rdge/texture").Texture; | 35 | var Texture = require("js/lib/rdge/texture").Texture; |
36 | var ElementMediator = require("js/mediators/element-mediator").ElementMediator; | 36 | var ElementMediator = require("js/mediators/element-mediator").ElementMediator; |
37 | var TagTool = require("js/tools/TagTool").TagTool; | ||
38 | 37 | ||
39 | /////////////////////////////////////////////////////////////////////// | 38 | /////////////////////////////////////////////////////////////////////// |
40 | // Class GLMaterial | 39 | // Class GLMaterial |
@@ -152,8 +151,7 @@ var CloudMaterial = function CloudMaterial() | |||
152 | 151 | ||
153 | ////////////////////////////////////////////////////////////////////////////////// | 152 | ////////////////////////////////////////////////////////////////////////////////// |
154 | // IS THIS NECESSARY?? | 153 | // IS THIS NECESSARY?? |
155 | // var elementModel = TagTool.makeElement(~~srcCanvas.width, ~~srcCanvas.height, | 154 | // var elementModel = TagTool.makeElement(~~srcCanvas.width, ~~srcCanvas.height, Matrix.I(4), [0,0,0], srcCanvas); |
156 | // Matrix.I(4), [0,0,0], srcCanvas); | ||
157 | // ElementMediator.addElement(srcCanvas, elementModel.data, true); | 155 | // ElementMediator.addElement(srcCanvas, elementModel.data, true); |
158 | ////////////////////////////////////////////////////////////////////////////////// | 156 | ////////////////////////////////////////////////////////////////////////////////// |
159 | 157 | ||