()
| 4010 | } |
| 4011 | |
| 4012 | function getNextLineInPool() { |
| 4013 | |
| 4014 | var line; |
| 4015 | |
| 4016 | if ( _lineCount === _linePool.length ) { |
| 4017 | |
| 4018 | line = new THREE.RenderableLine(); |
| 4019 | _linePool.push( line ); |
| 4020 | |
| 4021 | } else { |
| 4022 | |
| 4023 | line = _linePool[ _lineCount ]; |
| 4024 | |
| 4025 | } |
| 4026 | |
| 4027 | _lineCount ++; |
| 4028 | |
| 4029 | return line; |
| 4030 | |
| 4031 | } |
| 4032 | |
| 4033 | function getNextParticleInPool() { |
| 4034 |