()
| 8044 | // Pools |
| 8045 | |
| 8046 | function getNextObjectInPool() { |
| 8047 | |
| 8048 | if ( _objectCount === _objectPoolLength ) { |
| 8049 | |
| 8050 | var object = new THREE.RenderableObject(); |
| 8051 | _objectPool.push( object ); |
| 8052 | _objectPoolLength ++; |
| 8053 | _objectCount ++; |
| 8054 | return object; |
| 8055 | |
| 8056 | } |
| 8057 | |
| 8058 | return _objectPool[ _objectCount ++ ]; |
| 8059 | |
| 8060 | } |
| 8061 | |
| 8062 | function getNextVertexInPool() { |
| 8063 |