浏览代码

GLTFExporter: Fixed Ortho camera near value, as discussed on #13429

Fernando Serrano 7 年之前
父节点
当前提交
731f121506
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/misc_exporter_gltf.html

+ 1 - 1
examples/misc_exporter_gltf.html

@@ -440,7 +440,7 @@
 				// ---------------------------------------------------------------------
 				// Ortho camera
 				// ---------------------------------------------------------------------
-				var cameraOrtho = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, - 10, 10 );
+				var cameraOrtho = new THREE.OrthographicCamera( window.innerWidth / - 2, window.innerWidth / 2, window.innerHeight / 2, window.innerHeight / - 2, 0.1, 10 );
 				scene1.add( cameraOrtho );
 				cameraOrtho.name = 'OrthographicCamera';