()
| 8115 | // Pools |
| 8116 | |
| 8117 | function getNextObjectInPool() { |
| 8118 | |
| 8119 | if ( _objectCount === _objectPoolLength ) { |
| 8120 | |
| 8121 | var object = new THREE.RenderableObject(); |
| 8122 | _objectPool.push( object ); |
| 8123 | _objectPoolLength ++; |
| 8124 | _objectCount ++; |
| 8125 | return object; |
| 8126 | |
| 8127 | } |
| 8128 | |
| 8129 | return _objectPool[ _objectCount ++ ]; |
| 8130 | |
| 8131 | } |
| 8132 | |
| 8133 | function getNextVertexInPool() { |
| 8134 |