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

Function getNextObjectInPool

Three.js/js/Three60.js:8117–8131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8115 // Pools
8116
8117 function getNextObjectInPool() {
8118
8119 if ( _objectCount === _objectPoolLength ) {
8120
8121 var object = new THREE.RenderableObject();
8122 _objectPool.push( object );
8123 _objectPoolLength ++;
8124 _objectCount ++;
8125 return object;
8126
8127 }
8128
8129 return _objectPool[ _objectCount ++ ];
8130
8131 }
8132
8133 function getNextVertexInPool() {
8134

Callers 1

getObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected