fix: offset cube to avoid clipping with terrain

This commit is contained in:
neru
2026-01-02 03:44:14 -03:00
parent 240db3f764
commit 0e2daee849
+2 -2
View File
@@ -606,7 +606,7 @@ const SealCube = forwardRef<Mesh>((props, ref) => {
});
return (
<mesh ref={meshRef} position={[0, 2, 0]} castShadow receiveShadow>
<mesh ref={meshRef} position={[0, 3, 0]} castShadow receiveShadow>
<boxGeometry args={[0.85, 0.85, 0.85]} />
<meshBasicMaterial map={texture} />
</mesh>
@@ -692,7 +692,7 @@ export default function Home() {
/>
<OrbitControls
target={[0, 2, 0]}
target={[0, 3, 0]}
enablePan={false}
makeDefault
minDistance={2}