Particle.js 339 B

12345678910111213141516
  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. this.matrixAutoUpdate = false;
  8. };
  9. THREE.Particle.prototype = new THREE.Object3D();
  10. THREE.Particle.prototype.constructor = THREE.Particle;
粤ICP备19079148号