From a4df917c79e9ba060f0408afbe6fbfaf37ef486f Mon Sep 17 00:00:00 2001 From: Kseninia Mikhaylova Date: Mon, 3 Jun 2024 11:26:13 +0300 Subject: [PATCH] min distance --- front/src/components/Promo/main.vue | 9 +++++---- front/src/components/Promo/models.vue | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/front/src/components/Promo/main.vue b/front/src/components/Promo/main.vue index a3414bd..40fa41a 100644 --- a/front/src/components/Promo/main.vue +++ b/front/src/components/Promo/main.vue @@ -19,14 +19,13 @@ const onChange = (e: any) => { } const cameraPosition = [-6, 4, 25] as unknown as Vector3 -const lightPosition = [3, 3, 3] as unknown as Vector3 const controlsState = reactive({ - minDistance: 1, + minDistance: 5, maxDistance: 30, maxPolarAngle: (Math.PI / 2) - 0.02, maxZoom: 1, - minZoom: 0.2, + minZoom: 1, }) const { hasFinishLoading, progress } = await useProgress() @@ -37,6 +36,8 @@ const target = new Object3D() target.translateX(2) target.translateY(-50) console.log(target) + +