MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / getNextParticleInPool

Function getNextParticleInPool

Three.js/js/Three60.js:8182–8196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8180 }
8181
8182 function getNextParticleInPool() {
8183
8184 if ( _particleCount === _particlePoolLength ) {
8185
8186 var particle = new THREE.RenderableParticle();
8187 _particlePool.push( particle );
8188 _particlePoolLength ++;
8189 _particleCount ++
8190 return particle;
8191
8192 }
8193
8194 return _particlePool[ _particleCount ++ ];
8195
8196 }
8197
8198 //
8199

Callers 1

Three60.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected