()
| 3925 | // Pools |
| 3926 | |
| 3927 | function getNextObjectInPool() { |
| 3928 | |
| 3929 | var object; |
| 3930 | |
| 3931 | if ( _objectCount === _objectPool.length ) { |
| 3932 | |
| 3933 | object = new THREE.RenderableObject(); |
| 3934 | _objectPool.push( object ); |
| 3935 | |
| 3936 | } else { |
| 3937 | |
| 3938 | object = _objectPool[ _objectCount ]; |
| 3939 | |
| 3940 | } |
| 3941 | |
| 3942 | _objectCount ++; |
| 3943 | |
| 3944 | return object; |
| 3945 | |
| 3946 | } |
| 3947 | |
| 3948 | function getNextVertexInPool() { |
| 3949 |