feat: move robot to center
This commit is contained in:
parent
1cb5fe9f8b
commit
63bfcaba4c
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue