MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / getNextLineInPool

Function getNextLineInPool

webgl/js/three.min.js:4012–4031  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4010 }
4011
4012 function getNextLineInPool() {
4013
4014 var line;
4015
4016 if ( _lineCount === _linePool.length ) {
4017
4018 line = new THREE.RenderableLine();
4019 _linePool.push( line );
4020
4021 } else {
4022
4023 line = _linePool[ _lineCount ];
4024
4025 }
4026
4027 _lineCount ++;
4028
4029 return line;
4030
4031 }
4032
4033 function getNextParticleInPool() {
4034

Callers 1

three.min.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected