diff --git a/components/calcModels.vue b/components/calcModels.vue index 30b8192..4dc7efd 100644 --- a/components/calcModels.vue +++ b/components/calcModels.vue @@ -23,7 +23,6 @@ const cameraStat = reactive({ }) const pointLight = ref() -const pointLight2 = ref() const loadAll = async () => { const { scene: light } = await useGLTF('/models_light/zabor_so_svetom.glb') pointLight.value = light.children[2] @@ -35,7 +34,7 @@ const loadAll = async () => { pointLight.value.shadow.mapSize.x = 512 * j pointLight.value.shadow.mapSize.y = 512 * j - const k = 5 + const k = 3 pointLight.value.position.x = pointLight.value.position.x * k pointLight.value.position.y = pointLight.value.position.y * k pointLight.value.position.z = pointLight.value.position.z * k diff --git a/components/expDiagram.vue b/components/expDiagram.vue index 9f12a2f..e5a8cc6 100644 --- a/components/expDiagram.vue +++ b/components/expDiagram.vue @@ -63,7 +63,7 @@ onMounted(() => { Загрузка 3D модели - +