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

Function getNextObjectInPool

Three.js/js/Three59dev.js:7654–7668  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7652 // Pools
7653
7654 function getNextObjectInPool() {
7655
7656 if ( _objectCount === _objectPoolLength ) {
7657
7658 var object = new THREE.RenderableObject();
7659 _objectPool.push( object );
7660 _objectPoolLength ++;
7661 _objectCount ++;
7662 return object;
7663
7664 }
7665
7666 return _objectPool[ _objectCount ++ ];
7667
7668 }
7669
7670 function getNextVertexInPool() {
7671

Callers 1

getObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected