MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / getNextObjectInPool

Function getNextObjectInPool

webgl/js/three.min.js:3927–3946  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3925 // Pools
3926
3927 function getNextObjectInPool() {
3928
3929 var object;
3930
3931 if ( _objectCount === _objectPool.length ) {
3932
3933 object = new THREE.RenderableObject();
3934 _objectPool.push( object );
3935
3936 } else {
3937
3938 object = _objectPool[ _objectCount ];
3939
3940 }
3941
3942 _objectCount ++;
3943
3944 return object;
3945
3946 }
3947
3948 function getNextVertexInPool() {
3949

Callers 1

projectObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected