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

Function getNextLineInPool

Three.js/js/Three62dev.js:8172–8186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8170 }
8171
8172 function getNextLineInPool() {
8173
8174 if ( _lineCount === _linePoolLength ) {
8175
8176 var line = new THREE.RenderableLine();
8177 _linePool.push( line );
8178 _linePoolLength ++;
8179 _lineCount ++
8180 return line;
8181
8182 }
8183
8184 return _linePool[ _lineCount ++ ];
8185
8186 }
8187
8188 function getNextParticleInPool() {
8189

Callers 1

Three62dev.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected