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

Function getNextLineInPool

Three.js/js/Three66.js:8716–8730  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8714 }
8715
8716 function getNextLineInPool() {
8717
8718 if ( _lineCount === _linePoolLength ) {
8719
8720 var line = new THREE.RenderableLine();
8721 _linePool.push( line );
8722 _linePoolLength ++;
8723 _lineCount ++
8724 return line;
8725
8726 }
8727
8728 return _linePool[ _lineCount ++ ];
8729
8730 }
8731
8732 function getNextSpriteInPool() {
8733

Callers 2

pushLineFunction · 0.70
Three66.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected