From f97ee12c96d96e2f529e4248695d643245ec4243 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 20 八月 2024 15:21:56 +0800
Subject: [PATCH] #

---
 src/pages/fiber.jsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/pages/fiber.jsx b/src/pages/fiber.jsx
index 6a7b03c..7f6bfee 100644
--- a/src/pages/fiber.jsx
+++ b/src/pages/fiber.jsx
@@ -1,10 +1,10 @@
 import { useRef, useState } from 'react'
 import { Canvas, useFrame } from '@react-three/fiber'
-import { OrbitControls } from '@react-three/drei'
 import { Environment, Sky } from '@react-three/drei'
 import Help from '../components/help'
 import Lights from '../components/light'
 import Camera from '../components/camera'
+import Controls from '../components/ctrl'
 import Buildings from '../components/buidings'
 import TreeGroup from '../components/tree-group'
 import House from '../components/house'
@@ -24,17 +24,16 @@
             >
                 <Lights />
                 <Camera />
+                <Controls />
                 <Sky distance={450000} sunPosition={[0, 1, 0]} inclination={0} azimuth={0.25} />
                 <Buildings />
                 <TreeGroup />
                 <House />
                 <Warehouse />
-                <OrbitControls />
-                {/* <Environment background preset="night" /> */}
                 <Help />
             </Canvas>
             <Left />
-            <Right />
+            {/* <Right /> */}
         </div>
 
     )

--
Gitblit v1.9.1