From d71e1155c91ceb8afdaf0d34a372e6bf5c862744 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 30 四月 2024 12:09:04 +0800
Subject: [PATCH] #

---
 src/components/shelf.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/shelf.jsx b/src/components/shelf.jsx
index 67f246b..30404d2 100644
--- a/src/components/shelf.jsx
+++ b/src/components/shelf.jsx
@@ -17,7 +17,7 @@
     }, [])
 
     const model = useMemo(() => {
-        const fbx = useFBX('/models/shelf/row2.fbx');
+        const fbx = useFBX('/models/shelf/row.fbx');
         if (!fbx.castShadow) {
             Common.setShadow(fbx);
         }
@@ -42,7 +42,7 @@
                     scale={50000}
                 /> */}
 
-                <primitive object={model} castShadow position={[0, 25, 0]} />
+                <primitive object={model} castShadow position={[0, 0, 0]} />
                 {/* <mesh position={[0, 100, 0]}>
                     <boxGeometry args={[150, 200, 30]} />
                     <meshStandardMaterial color={'orange'} transparent={true} opacity={.5} />

--
Gitblit v1.9.1