瀏覽代碼

模型添加

luogang 4 天之前
父節點
當前提交
c6b128a276
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ems-ui-cloud/src/views/largeScreen/three/renderModel.js

+ 1 - 1
ems-ui-cloud/src/views/largeScreen/three/renderModel.js

@@ -271,7 +271,7 @@ class renderModel {
 
   initControls() {
     this.controls = new OrbitControls(this.camera, this.renderer.domElement);
-    this.controls.maxPolarAngle = Math.PI / 2;
+    this.controls.maxPolarAngle = Math.PI / 1.1;
     this.controls.minPolarAngle = Math.PI / 2;
     this.controls.minAzimuthAngle = 0;
     this.controls.maxAzimuthAngle = 0;