aboutsummaryrefslogtreecommitdiff
path: root/js/lib/rdge/materials/material.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-05-22 14:51:35 -0700
committerValerio Virgillito2012-05-22 14:51:35 -0700
commit862ee363584dfba4bdd9abacbc3a3244c7ec66b5 (patch)
tree2411bd4bf3478621a16c83ead914670e0d143372 /js/lib/rdge/materials/material.js
parentc37a876b373ddc7cb19277aaeaa6bb2d2d5a50ac (diff)
parent6b03f357f45d76733ae7bf5ff52ffe2fb2a84fda (diff)
downloadninja-862ee363584dfba4bdd9abacbc3a3244c7ec66b5.tar.gz
Merge pull request #221 from ericmueller/3DBugs
3 d bugs
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-xjs/lib/rdge/materials/material.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/lib/rdge/materials/material.js b/js/lib/rdge/materials/material.js
index 276c7687..b96768b3 100755
--- a/js/lib/rdge/materials/material.js
+++ b/js/lib/rdge/materials/material.js
@@ -228,6 +228,10 @@ var Material = function GLMaterial( world ) {
228 // animated materials should implement the update method 228 // animated materials should implement the update method
229 }; 229 };
230 230
231 this.fitToPrimitive = function( prim ) {
232 // some materials need to preserve an aspect ratio - or someting else.
233 };
234
231 this.registerTexture = function( texture ) { 235 this.registerTexture = function( texture ) {
232 // the world needs to know about the texture map 236 // the world needs to know about the texture map
233 var world = this.getWorld(); 237 var world = this.getWorld();