Merge remote branch 'alteredq/skinning' into skinning

This commit is contained in:
Mr.doob
2011-02-20 03:51:36 +00:00
+18
View File
@@ -0,0 +1,18 @@
/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.Ribbon = function ( geometry, materials ) {
THREE.Object3D.call( this );
this.geometry = geometry;
this.materials = materials instanceof Array ? materials : [ materials ];
this.flipSided = false;
this.doubleSided = false;
};
THREE.Ribbon.prototype = new THREE.Object3D();
THREE.Ribbon.prototype.constructor = THREE.Ribbon;