()
| 8121 | // Pools |
| 8122 | |
| 8123 | function getNextObjectInPool() { |
| 8124 | |
| 8125 | if ( _objectCount === _objectPoolLength ) { |
| 8126 | |
| 8127 | var object = new THREE.RenderableObject(); |
| 8128 | _objectPool.push( object ); |
| 8129 | _objectPoolLength ++; |
| 8130 | _objectCount ++; |
| 8131 | return object; |
| 8132 | |
| 8133 | } |
| 8134 | |
| 8135 | return _objectPool[ _objectCount ++ ]; |
| 8136 | |
| 8137 | } |
| 8138 | |
| 8139 | function getNextVertexInPool() { |
| 8140 |