mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
Merge remote branch 'alteredq/skinning' into skinning
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user