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

Function getNextObjectInPool

Three.js/js/Three62dev.js:8123–8137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8121 // Pools
8122
8123 function getNextObjectInPool() {
8124
8125 if ( _objectCount === _objectPoolLength ) {
8126
8127 var object = new THREE.RenderableObject();
8128 _objectPool.push( object );
8129 _objectPoolLength ++;
8130 _objectCount ++;
8131 return object;
8132
8133 }
8134
8135 return _objectPool[ _objectCount ++ ];
8136
8137 }
8138
8139 function getNextVertexInPool() {
8140

Callers 1

getObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected