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

Function getNextObjectInPool

Three.js/js/Three56.js:7049–7063  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7047 // Pools
7048
7049 function getNextObjectInPool() {
7050
7051 if ( _objectCount === _objectPoolLength ) {
7052
7053 var object = new THREE.RenderableObject();
7054 _objectPool.push( object );
7055 _objectPoolLength ++;
7056 _objectCount ++;
7057 return object;
7058
7059 }
7060
7061 return _objectPool[ _objectCount ++ ];
7062
7063 }
7064
7065 function getNextVertexInPool() {
7066

Callers 1

projectObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected