Explorar o código

Editor: Changed default camera near.

Mr.doob %!s(int64=9) %!d(string=hai) anos
pai
achega
f16ce12213
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      editor/js/Editor.js

+ 1 - 1
editor/js/Editor.js

@@ -6,7 +6,7 @@ var Editor = function () {
 
 	var SIGNALS = signals;
 
-	this.DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 1, 10000 );
+	this.DEFAULT_CAMERA = new THREE.PerspectiveCamera( 50, 1, 0.1, 10000 );
 	this.DEFAULT_CAMERA.name = 'Camera';
 	this.DEFAULT_CAMERA.position.set( 20, 10, 20 );
 	this.DEFAULT_CAMERA.lookAt( new THREE.Vector3() );