From f8af5ee55ffe20fcf0521f32c1b90d76ac6c876e Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Tue, 7 Nov 2017 20:46:24 -0800 Subject: [PATCH] Editor: Changed default camera.near/far. --- editor/js/Editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/Editor.js b/editor/js/Editor.js index 1ffba507b6..bab7754e99 100644 --- a/editor/js/Editor.js +++ b/editor/js/Editor.js @@ -4,7 +4,7 @@ var Editor = function () { - this.DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 0.1, 10000 ); + this.DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 0.01, 1000 ); this.DEFAULT_CAMERA.name = 'Camera'; this.DEFAULT_CAMERA.position.set( 20, 10, 20 ); this.DEFAULT_CAMERA.lookAt( new THREE.Vector3() ); -- GitLab