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

Function getNextObjectInPool

7DFPS/js/Three.js:8046–8060  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8044 // Pools
8045
8046 function getNextObjectInPool() {
8047
8048 if ( _objectCount === _objectPoolLength ) {
8049
8050 var object = new THREE.RenderableObject();
8051 _objectPool.push( object );
8052 _objectPoolLength ++;
8053 _objectCount ++;
8054 return object;
8055
8056 }
8057
8058 return _objectPool[ _objectCount ++ ];
8059
8060 }
8061
8062 function getNextVertexInPool() {
8063

Callers 1

getObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected