Ribbon.js 295 B

123456789101112131415
  1. /**
  2. * @author alteredq / http://alteredqualia.com/
  3. */
  4. THREE.Ribbon = function ( geometry, material ) {
  5. THREE.Object3D.call( this );
  6. this.geometry = geometry;
  7. this.material = material;
  8. };
  9. THREE.Ribbon.prototype = new THREE.Object3D();
  10. THREE.Ribbon.prototype.constructor = THREE.Ribbon;