allow closer zooming of camera

This commit is contained in:
Stewart Allen 2021-12-02 18:26:22 -05:00
commit 46352c47a0

View file

@ -1075,7 +1075,7 @@
}); });
camera = ortho ? camera = ortho ?
new THREE.OrthographicCamera(-100 * aspect(), 100 * aspect(), 100, -100, 0.1, 100000) : new THREE.OrthographicCamera(-100 * aspect(), 100 * aspect(), 100, -100, 0.1, 100000) :
new THREE.PerspectiveCamera(perspective, aspect(), 5, 100000); new THREE.PerspectiveCamera(perspective, aspect(), 0.1, 100000);
camera.position.set(0, 200, 340); camera.position.set(0, 200, 340);
renderer.setSize(width(), height()); renderer.setSize(width(), height());