diff options
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js index bc4c8e6b..4b8a5d6b 100755 --- a/js/lib/rdge/materials/material.js +++ b/js/lib/rdge/materials/material.js | |||
@@ -264,21 +264,6 @@ var Material = function GLMaterial( world ) { | |||
264 | // should override this function. | 264 | // should override this function. |
265 | } | 265 | } |
266 | 266 | ||
267 | this.export = function() { | ||
268 | // this function should be overridden by subclasses | ||
269 | var exportStr = "material: " + this.getShaderName() + "\n" + "endMaterial\n"; | ||
270 | return exportStr; | ||
271 | }; | ||
272 | |||
273 | this.import = function( importStr ) { | ||
274 | var endKey = "endMaterial\n"; | ||
275 | var index = importStr.indexOf( endKey ); | ||
276 | index += endKey.length; | ||
277 | var rtnStr = importStr.substr( index ); | ||
278 | |||
279 | return rtnStr; | ||
280 | }; | ||
281 | |||
282 | }; | 267 | }; |
283 | 268 | ||
284 | if (typeof exports === "object") { | 269 | if (typeof exports === "object") { |