#
luxiaotao1123
2024-03-29 2dcddd30632d46f85b09171c6e989cbe94e271fa
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;    // 光衰