aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge
diff options
context:
space:
mode:
authorValerio Virgillito2012-08-20 23:35:03 -0700
committerValerio Virgillito2012-08-20 23:35:03 -0700
commit22191240b09a98d134cebe36f3bc79803c5ceab4 (patch)
treea88c6b967549c557f0c0654e367dfd5908dc8361 /js/lib/rdge
parent36d692a9fb216f2785a570d13c1beb27360c7305 (diff)
downloadninja-22191240b09a98d134cebe36f3bc79803c5ceab4.tar.gz
removing unnecessary references to the tag tool.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/lib/rdge')
-rw-r--r--js/lib/rdge/materials/cloud-material.js4
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;
34var GLWorld = require("js/lib/drawing/world").World; 34var GLWorld = require("js/lib/drawing/world").World;
35var Texture = require("js/lib/rdge/texture").Texture; 35var Texture = require("js/lib/rdge/texture").Texture;
36var ElementMediator = require("js/mediators/element-mediator").ElementMediator; 36var ElementMediator = require("js/mediators/element-mediator").ElementMediator;
37var 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