Compare commits

...

2 Commits

Author SHA1 Message Date
Your Name 63d6715353 поменял связи урны 2025-03-21 15:36:09 +03:00
Your Name 8b3c61cc4a test 2025-03-20 16:00:04 +03:00
6 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ const toggle_menu = () => {
<div class="logo">
<NuxtLink to="/">
<k_logo />
<span class="logo_text">Купи Скамейку!</span>
<span class="logo_text">Купи Урну!</span>
</NuxtLink>
</div>
<div class="menu-toggle">

View File

@ -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) => {
</div>
</ClientOnly>
<div class="absolute bottom-4 left-1/2 -translate-x-1/2">
<button @click.prevent="openModal">Рассчитать</button>
<button @click.prevent="openModal">Заказать</button>
</div>
</div>
</template>

View File

@ -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

View File

@ -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

BIN
public/models/urna1.glb Normal file

Binary file not shown.

BIN
public/models/urna2.glb Normal file

Binary file not shown.