zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js
@@ -201,8 +201,13 @@ } rePerspective = (maxHeight) => { const height = Math.max(maxHeight, 600) const cameraPosScale = 0.7; this.camera.position.set(-maxHeight * cameraPosScale, maxHeight * cameraPosScale, maxHeight * cameraPosScale); this.camera.position.set( -height * cameraPosScale, height * cameraPosScale, height * cameraPosScale ); this.controls.target = new THREE.Vector3(0, maxHeight * 0.53, 0); }