feat: move robot to center

This commit is contained in:
Youwen Wu 2024-03-18 21:50:04 -07:00
parent 1cb5fe9f8b
commit 63bfcaba4c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 3 additions and 2 deletions

View file

@ -54,7 +54,6 @@
> >
</li> </li>
</ul> </ul>
<h2 class="text-2xl font-medium text-slate-200 mt-4 basis-full"> <h2 class="text-2xl font-medium text-slate-200 mt-4 basis-full">
Camera Configuration Camera Configuration
</h2> </h2>

View file

@ -137,6 +137,8 @@
<RobotDecimated <RobotDecimated
scale={[10, 10, 10]} scale={[10, 10, 10]}
position.y={0} position.y={0}
position.x={-3}
position.z={3}
on:create={({ ref }) => { on:create={({ ref }) => {
// @ts-expect-error // @ts-expect-error
mesh.set(ref) mesh.set(ref)
@ -148,7 +150,7 @@
sectionColor={'#ff3e00'} sectionColor={'#ff3e00'}
sectionThickness={1} sectionThickness={1}
bind:fadeDistance={gridFadeDistance} bind:fadeDistance={gridFadeDistance}
cellSize={6} cellSize={3}
sectionSize={24} sectionSize={24}
cellColor={'#cccccc'} cellColor={'#cccccc'}
infiniteGrid infiniteGrid