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

Function getNextLineInPool

Three.js/js/Three56.js:7114–7128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7112 }
7113
7114 function getNextLineInPool() {
7115
7116 if ( _lineCount === _linePoolLength ) {
7117
7118 var line = new THREE.RenderableLine();
7119 _linePool.push( line );
7120 _linePoolLength ++;
7121 _lineCount ++
7122 return line;
7123
7124 }
7125
7126 return _linePool[ _lineCount ++ ];
7127
7128 }
7129
7130 function getNextParticleInPool() {
7131

Callers 1

Three56.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected