diff --git a/components/model/scene.vue b/components/model/scene.vue
index d803b79..a50b93f 100644
--- a/components/model/scene.vue
+++ b/components/model/scene.vue
@@ -5,7 +5,7 @@ const { openModal } = useModalState();
const types = {
bench: defineAsyncComponent(() => import("./bench.vue")),
- table: defineAsyncComponent(() => import("./bench-table.vue")),
+ table: defineAsyncComponent(() => import("./urna2.vue")),
};
const props = defineProps({
@@ -82,7 +82,7 @@ const changeDistance = (v = 1) => {
-
+
diff --git a/components/model/bench.vue b/components/model/urna1.vue
similarity index 91%
rename from components/model/bench.vue
rename to components/model/urna1.vue
index 6a600fa..e1d75d7 100644
--- a/components/model/bench.vue
+++ b/components/model/urna1.vue
@@ -6,12 +6,12 @@ import { degToRad } from 'three/src/math/MathUtils.js'
const { camera, controls } = useTresContext()
-const { scene } = await useGLTF('/models/bench.glb')
+const { scene } = await useGLTF('/models/urna1.glb')
const object = calculateScaleToFit(
scene,
camera,
controls,
- 2,
+ 1,
{
x: Math.sin(degToRad(30)), // Смещение по оси X
y: 1, // Нет смещения по оси Y
diff --git a/components/model/bench-table.vue b/components/model/urna2.vue
similarity index 91%
rename from components/model/bench-table.vue
rename to components/model/urna2.vue
index 75e1c06..7a2745f 100644
--- a/components/model/bench-table.vue
+++ b/components/model/urna2.vue
@@ -6,12 +6,12 @@ import { degToRad } from 'three/src/math/MathUtils.js'
const { camera, controls } = useTresContext()
-const { scene } = await useGLTF('/models/table.glb')
+const { scene } = await useGLTF('/models/urna2.glb')
const object = calculateScaleToFit(
scene,
camera,
controls,
- 3,
+ 1,
{
x: Math.sin(degToRad(-30)), // Смещение по оси X
y: 1, // Нет смещения по оси Y
diff --git a/public/models/urna1.glb b/public/models/urna1.glb
new file mode 100644
index 0000000..044e696
Binary files /dev/null and b/public/models/urna1.glb differ
diff --git a/public/models/urna2.glb b/public/models/urna2.glb
new file mode 100644
index 0000000..51b4403
Binary files /dev/null and b/public/models/urna2.glb differ