From 2dcddd30632d46f85b09171c6e989cbe94e271fa Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 29 三月 2024 15:27:26 +0800 Subject: [PATCH] # --- zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js b/zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js index d78e531..1bd730c 100644 --- a/zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js +++ b/zy-asrs-flow/src/pages/map/drawer/shelf/shelfThree.js @@ -66,7 +66,7 @@ initCamera = () => { const camera = new THREE.PerspectiveCamera(70, this.getFullWidth() / this.getFullHeight(), 1, 60000); - camera.position.set(-300, 300, 300); + camera.position.set(-300, 800, 300); this.scene.add(camera); return camera; } @@ -213,7 +213,7 @@ scene.add(ambientLight); const spotLight = new THREE.SpotLight(0xffffff, 8); - spotLight.position.set(-300, 300, 0); + spotLight.position.set(-300, 1000, 0); spotLight.angle = Math.PI / 4; // 瑙掑害 spotLight.distance = 800; // 璺濈 spotLight.decay = 0; // 鍏夎“ -- Gitblit v1.9.1