唐润平: 传感器添加删除、标签文字设置、双击进入视角、双击空白回退视角-提交
This commit is contained in:
@@ -181,11 +181,11 @@ export default class Demo {
|
||||
this.renderer.domElement
|
||||
);
|
||||
//初始化轨道控制器
|
||||
this.orbitControls.object.position.set(-29, 18, -50)
|
||||
this.orbitControls.maxPolarAngle = Math.PI * (3.17 / 6);
|
||||
this.orbitControls.minPolarAngle = Math.PI * (2 / 6);
|
||||
this.orbitControls.minDistance = 19;
|
||||
this.orbitControls.maxDistance = 87;
|
||||
this.orbitControls.object.position.set(-29, 18, -50);
|
||||
// this.orbitControls.maxPolarAngle = Math.PI * (3.17 / 3);
|
||||
// this.orbitControls.minPolarAngle = Math.PI * (2 / 3);
|
||||
// this.orbitControls.minDistance = 19;
|
||||
// this.orbitControls.maxDistance = 87;
|
||||
// 监听控制器变化
|
||||
this.orbitControls.addEventListener("end", handleEndChange.bind(this));
|
||||
this.orbitControls.addEventListener("start", handleStartChange.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user