/** * @author mr.doob / http://mrdoob.com/ */ THREE.Particle = function ( materials ) { THREE.Object3D.call( this ); this.materials = materials instanceof Array ? materials : [ materials ]; }; THREE.Particle.prototype = new THREE.Object3D(); THREE.Particle.prototype.constructor = THREE.Particle;