Particle.js 306 B

1234567891011121314
  1. /**
  2. * @author mr.doob / http://mrdoob.com/
  3. */
  4. THREE.Particle = function ( materials ) {
  5. THREE.Object3D.call( this );
  6. this.materials = materials instanceof Array ? materials : [ materials ];
  7. };
  8. THREE.Particle.prototype = new THREE.Object3D();
  9. THREE.Particle.prototype.constructor = THREE.Particle;