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; // 光衰