#
luxiaotao1123
2024-04-07 b209ed646217afe1882ca5f2fd654d418afe3848
#
1个文件已修改
5 ■■■■■ 已修改文件
zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js
@@ -201,8 +201,9 @@
    }
    rePerspective = (maxHeight) => {
        this.camera.position.set(-maxHeight * 0.8, maxHeight * 0.8, maxHeight * 0.8);
        this.controls.target = new THREE.Vector3(0, maxHeight * 0.55, 0);
        const cameraPosScale = 0.7;
        this.camera.position.set(-maxHeight * cameraPosScale, maxHeight * cameraPosScale, maxHeight * cameraPosScale);
        this.controls.target = new THREE.Vector3(0, maxHeight * 0.53, 0);
    }
    destroy = () => {