From c5326912fd3b68e58901e00d51ef8b05aaaad3f6 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Thu, 4 Jul 2024 01:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E6=8F=90=E4=BA=A4=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AppThreeMap.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/AppThreeMap.vue b/src/views/AppThreeMap.vue index 3d29764..e14795c 100644 --- a/src/views/AppThreeMap.vue +++ b/src/views/AppThreeMap.vue @@ -16,9 +16,6 @@ export default { const {$waitFor, THREE, $loadScript} = window return $waitFor(THREE).then(() => Promise.all([ `http://10.0.97.209/presource/datascreen/js/three/js/controls/OrbitControls.js`, - // `http://10.0.97.209/presource/datascreen/js/three/js/utils/BufferGeometryUtils.js`, - `http://10.0.97.209/presource/datascreen/js/three/js/QuickHull.js`, - `http://10.0.97.209/presource/datascreen/js/three/js/geometries/ConvexGeometry.js`, ].map(e => $loadScript('js', e)))) }, initMap() { @@ -29,7 +26,7 @@ export default { class GeoMap { constructor() { - this.cameraPosition = {x: 16, y: 0, z: 80}; // 相机位置 + this.cameraPosition = {x: 40, y: 0, z: 40}; // 相机位置 this.scene = null; // 场景 this.camera = null; // 相机 this.renderer = null; // 渲染器