()
| 7652 | // Pools |
| 7653 | |
| 7654 | function getNextObjectInPool() { |
| 7655 | |
| 7656 | if ( _objectCount === _objectPoolLength ) { |
| 7657 | |
| 7658 | var object = new THREE.RenderableObject(); |
| 7659 | _objectPool.push( object ); |
| 7660 | _objectPoolLength ++; |
| 7661 | _objectCount ++; |
| 7662 | return object; |
| 7663 | |
| 7664 | } |
| 7665 | |
| 7666 | return _objectPool[ _objectCount ++ ]; |
| 7667 | |
| 7668 | } |
| 7669 | |
| 7670 | function getNextVertexInPool() { |
| 7671 |