Files
three.js/src/objects/Ribbon.js
T
alteredq 05b3db4dca Experimenting with array-less materials.
Do not use for anything, this is just snapshot of a test in progress. I solved quite a few issues, but many things are still clumsy and broken.
2011-10-21 03:06:06 +02:00

16 lines
295 B
JavaScript

/**
* @author alteredq / http://alteredqualia.com/
*/
THREE.Ribbon = function ( geometry, material ) {
THREE.Object3D.call( this );
this.geometry = geometry;
this.material = material;
};
THREE.Ribbon.prototype = new THREE.Object3D();
THREE.Ribbon.prototype.constructor = THREE.Ribbon;