diff options
author | hwc487 | 2012-05-08 15:53:35 -0700 |
---|---|---|
committer | hwc487 | 2012-05-08 15:53:35 -0700 |
commit | 91a9e02bff0397ec9b1f55fdf61cef72eb0d8a0f (patch) | |
tree | d82276e3f18fd627a140ad07c22abd16053a7419 /js/lib/rdge/materials/material.js | |
parent | 526e423e4a2734c2b139af23911e912452a4443f (diff) | |
download | ninja-91a9e02bff0397ec9b1f55fdf61cef72eb0d8a0f.tar.gz |
Radial gradients to match CSS
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(); |