From 521139fd3c9aedc7fce4c722081f74f5ee640a20 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 四月 2024 10:19:03 +0800
Subject: [PATCH] #

---
 src/components/camera.jsx |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/components/camera.jsx b/src/components/camera.jsx
index a1812b9..a740fc4 100644
--- a/src/components/camera.jsx
+++ b/src/components/camera.jsx
@@ -16,6 +16,17 @@
 
     const [choiceCtrls, setChoiceCtrls] = useState(true);
 
+    const ctrl = () => {
+        return (
+            <group>
+                {/* 鐩告満鎺у埗鍣� */}
+                {/* <PresentationControls /> */}
+                <CameraControls />
+                {/* <PointerCtrl /> */}
+            </group>
+        );
+    };
+
     const flyCtrl = () => {
         return (
             <group>
@@ -31,16 +42,6 @@
         );
     };
 
-    const ctrl = () => {
-        return (
-            <group>
-                {/* 鐩告満鎺у埗鍣� */}
-                {/* <PresentationControls /> */}
-                <CameraControls />
-                {/* <PointerCtrl /> */}
-            </group>
-        );
-    };
     return (
         <>
             {choiceCtrls ? ctrl() : flyCtrl()}

--
Gitblit v1.9.1