mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 13:06:01 +10:00
Merging with @alteredq's experimental branches.
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
* @author alteredq / http://alteredqualia.com/
|
||||
*/
|
||||
|
||||
THREE.ParticleSystem = function ( geometry, materials ) {
|
||||
THREE.ParticleSystem = function ( geometry, material ) {
|
||||
|
||||
THREE.Object3D.call( this );
|
||||
|
||||
this.geometry = geometry;
|
||||
this.materials = materials instanceof Array ? materials : [ materials ];
|
||||
this.material = material;
|
||||
|
||||
this.sortParticles = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user