diff options
author | Jon Reid | 2012-04-05 16:36:22 -0700 |
---|---|---|
committer | Jon Reid | 2012-04-05 16:36:22 -0700 |
commit | eb694fa5d39733264bce7ba832aabbe9c3d6c81e (patch) | |
tree | 049aaa66a6621e9f54b33b9861f50c20667ba0e3 /js/lib/rdge/materials/material.js | |
parent | a8ea8f377919c7f1a6af69311f55fd57727d9058 (diff) | |
parent | e186c49247689b5c2df6125037e2473636701d17 (diff) | |
download | ninja-eb694fa5d39733264bce7ba832aabbe9c3d6c81e.tar.gz |
Merge remote-tracking branch 'ninja-jduran/TimelineUber' into timeline-local
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 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 | { |