()
| 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 |