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

Function getNextLineInPool

Three.js/js/Three62.js:8212–8226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8210 }
8211
8212 function getNextLineInPool() {
8213
8214 if ( _lineCount === _linePoolLength ) {
8215
8216 var line = new THREE.RenderableLine();
8217 _linePool.push( line );
8218 _linePoolLength ++;
8219 _lineCount ++
8220 return line;
8221
8222 }
8223
8224 return _linePool[ _lineCount ++ ];
8225
8226 }
8227
8228 function getNextSpriteInPool() {
8229

Callers 1

Three62.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected