How to use the GPUParticleContainer function from three

Find comprehensive JavaScript three.GPUParticleContainer code examples handpicked from public code repositorys.

251
252
253
254
255
256
257
258
259
260

this.init = function() {

	for (var i = 0; i < self.PARTICLE_CONTAINERS; i++) {

		var c = new THREE.GPUParticleContainer(self.PARTICLES_PER_CONTAINER, self);
		self.particleContainers.push(c);
		self.add(c);

	}
fork icon0
star icon1
watch icon1

+ 109 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)