xzw 2 年之前
父节点
当前提交
0e9dce6b7e
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      public/static/lib/potree/potree.js
  2. 1 1
      public/static/lib/potree/potree.js.map

+ 2 - 2
public/static/lib/potree/potree.js

@@ -82414,7 +82414,7 @@ void main()
 	    focus(){  
 	    
 	    
-	        let dontChangeCamDir = viewer.mainViewport.camera.type == 'OrthographicCamera' && math.closeTo( viewer.mainViewport.view.pitch , -1.57079632);  //俯视图不改角度
+	        let dontChangeCamDir = viewer.mainViewport.camera.type == 'OrthographicCamera'; /* && math.closeTo( viewer.mainViewport.view.pitch , -1.57079632)  */ // 不改角度
 	    
 	        viewer.focusOnObject(this, 'measure', null, {dontChangeCamDir});
 	        
@@ -139328,7 +139328,7 @@ ENDSEC
 	                boundSize.y = Math.max(min, boundSize.y);
 	            }
 	            if(camera.type == 'OrthographicCamera'){
-	                dis = boundSize.length() / 2;
+	                dis = boundSize.length();  
 	            }else {
 	                let aspect = boundSize.x / boundSize.y;
 	                if(camera.aspect > aspect){//视野更宽则用bound的纵向来决定

文件差异内容过多而无法显示
+ 1 - 1
public/static/lib/potree/potree.js.map