Browse Source

Editor: Changed default camera.near/far.

Mr.doob 7 years ago
parent
commit
42c156ec01
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Editor.js

+ 1 - 1
editor/js/Editor.js

@@ -4,7 +4,7 @@
 
 
 var Editor = function () {
 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.name = 'Camera';
 	this.DEFAULT_CAMERA.position.set( 20, 10, 20 );
 	this.DEFAULT_CAMERA.position.set( 20, 10, 20 );
 	this.DEFAULT_CAMERA.lookAt( new THREE.Vector3() );
 	this.DEFAULT_CAMERA.lookAt( new THREE.Vector3() );