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

Function getNextObjectInPool

Three.js/js/Three66.js:8667–8681  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8665 // Pools
8666
8667 function getNextObjectInPool() {
8668
8669 if ( _objectCount === _objectPoolLength ) {
8670
8671 var object = new THREE.RenderableObject();
8672 _objectPool.push( object );
8673 _objectPoolLength ++;
8674 _objectCount ++;
8675 return object;
8676
8677 }
8678
8679 return _objectPool[ _objectCount ++ ];
8680
8681 }
8682
8683 function getNextVertexInPool() {
8684

Callers 1

projectObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected