MCPcopy Index your code
hub / github.com/stemkoski/stemkoski.github.com / getNextObjectInPool

Function getNextObjectInPool

Three.js/js/Three62.js:8163–8177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8161 // Pools
8162
8163 function getNextObjectInPool() {
8164
8165 if ( _objectCount === _objectPoolLength ) {
8166
8167 var object = new THREE.RenderableObject();
8168 _objectPool.push( object );
8169 _objectPoolLength ++;
8170 _objectCount ++;
8171 return object;
8172
8173 }
8174
8175 return _objectPool[ _objectCount ++ ];
8176
8177 }
8178
8179 function getNextVertexInPool() {
8180

Callers 1

getObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected