diff options
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 | ||