MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / getNextParticleInPool

Function getNextParticleInPool

Three.js/js/Three62dev.js:8188–8202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8186 }
8187
8188 function getNextParticleInPool() {
8189
8190 if ( _particleCount === _particlePoolLength ) {
8191
8192 var particle = new THREE.RenderableParticle();
8193 _particlePool.push( particle );
8194 _particlePoolLength ++;
8195 _particleCount ++
8196 return particle;
8197
8198 }
8199
8200 return _particlePool[ _particleCount ++ ];
8201
8202 }
8203
8204 //
8205

Callers 1

Three62dev.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected