From 5926db501c43e9fff6f793e6c8e138063e097528 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 24 四月 2024 16:34:40 +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