allow closer zooming of camera
This commit is contained in:
parent
3375a12d35
commit
46352c47a0
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue