diff options
author | Valerio Virgillito | 2012-05-22 14:54:51 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-22 14:54:51 -0700 |
commit | 3493df6f1b1eaa20bb4f391e19c19bb7f3c872a0 (patch) | |
tree | d0ca79f7a7be334d2a0580553bd9de3ba0bbe30b /js/lib/rdge/materials/material.js | |
parent | b3e85f609f704d668c8022c53418f8056bc71260 (diff) | |
parent | 862ee363584dfba4bdd9abacbc3a3244c7ec66b5 (diff) | |
download | ninja-3493df6f1b1eaa20bb4f391e19c19bb7f3c872a0.tar.gz |
Merge branch 'refs/heads/master' into dom-architecture
Conflicts:
js/io/system/ninjalibrary.json
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/lib/rdge/materials/material.js')
-rwxr-xr-x | js/lib/rdge/materials/material.js | 4 |
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(); |