aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/material.js
diff options
context:
space:
mode:
authorJohn Mayhew2012-04-03 13:39:32 -0700
committerJohn Mayhew2012-04-03 13:39:32 -0700
commit18609d375e7aab9cb48c9b3f5b291f85cbd28683 (patch)
treedeca3dc7277c154782f451fbd5b960c3d5c9dba7 /js/lib/rdge/materials/material.js
parentd5d4dcac78ebf8ba3163a8c7055d783b6397a435 (diff)
downloadninja-18609d375e7aab9cb48c9b3f5b291f85cbd28683.tar.gz
removed old unused import and export functions.
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-xjs/lib/rdge/materials/material.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js
index c1d13b15..276c7687 100755
--- a/js/lib/rdge/materials/material.js
+++ b/js/lib/rdge/materials/material.js
@@ -252,21 +252,6 @@ var Material = function GLMaterial( world ) {
252 return tex; 252 return tex;
253 }; 253 };
254 254
255 this.export = function() {
256 // this function should be overridden by subclasses
257 var exportStr = "material: " + this.getShaderName() + "\n" + "endMaterial\n";
258 return exportStr;
259 };
260
261 this.import = function( importStr ) {
262 var endKey = "endMaterial\n";
263 var index = importStr.indexOf( endKey );
264 index += endKey.length;
265 var rtnStr = importStr.substr( index );
266
267 return rtnStr;
268 };
269
270 /* 255 /*
271 this.setRenderProperties = function( glContext, shaderProgram ) 256 this.setRenderProperties = function( glContext, shaderProgram )
272 { 257 {