MCPcopy
hub / github.com/stemkoski/stemkoski.github.com / getNextLineInPool

Function getNextLineInPool

Three.js/js/Three60.js:8166–8180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8164 }
8165
8166 function getNextLineInPool() {
8167
8168 if ( _lineCount === _linePoolLength ) {
8169
8170 var line = new THREE.RenderableLine();
8171 _linePool.push( line );
8172 _linePoolLength ++;
8173 _lineCount ++
8174 return line;
8175
8176 }
8177
8178 return _linePool[ _lineCount ++ ];
8179
8180 }
8181
8182 function getNextParticleInPool() {
8183

Callers 1

Three60.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected