15 lines
380 B
Vue
15 lines
380 B
Vue
<script setup lang="ts">
|
|
//@ts-ignore
|
|
import { useGLTF } from '@tresjs/cientos'
|
|
import { Vector3 } from 'three';
|
|
|
|
const { scene: bench1 } = await useGLTF('/models/bench_export-v1.glb')
|
|
</script>
|
|
<template>
|
|
<Suspense>
|
|
<TresGroup :position-y="0" :scale="new Vector3(2, 2, 2)">
|
|
<ModelItem :model="bench1" :target="[0, 0, 0]" />
|
|
</TresGroup>
|
|
</Suspense>
|
|
</template>
|