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

---
 src/pages/base.jsx |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/pages/base.jsx b/src/pages/base.jsx
index 9b480de..3ba28fd 100644
--- a/src/pages/base.jsx
+++ b/src/pages/base.jsx
@@ -8,10 +8,13 @@
 import Buildings from '../components/buidings'
 import TreeGroup from '../components/tree-group'
 import House from '../components/house'
+import Warehouse from '../core/warehouse'
+import Left from './left'
+import Right from './right'
 
 const Base = (props) => {
     return (
-        <div style={{ height: '100%', width: '100%' }}>
+        <div style={{ height: '100%', width: '100%', position: 'relative', overflow: 'hidden' }}>
             <Canvas
                 shadows
                 gl={{
@@ -24,17 +27,19 @@
                 <Buildings />
                 <TreeGroup />
                 <House />
-                <Box position={[0, 0, 0]} />
+                <Warehouse />
                 <OrbitControls />
                 <Environment background preset="night" />
                 <Help />
             </Canvas>
+            <Left />
+            <Right />
         </div>
 
     )
 }
 
-const Box = (props) => {
+const Demo = (props) => {
     const ref = useRef()
     const [hovered, hover] = useState(false)
     const [clicked, click] = useState(false)

--
Gitblit v1.9.1