Explorar o código

Editor: Changed default camera.near/far.

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

+ 1 - 1
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() );