From 3cc7f24293fa9669d4b021713a6b69cab1408c55 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 11 五月 2024 14:57:20 +0800
Subject: [PATCH] #
---
src/components/house.jsx | 2 +-
src/pages/right/index.jsx | 2 +-
src/components/ctrl.jsx | 1 +
src/components/camera.jsx | 2 +-
src/pages/left/index.jsx | 2 +-
5 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/components/camera.jsx b/src/components/camera.jsx
index 2ff0105..c835502 100644
--- a/src/components/camera.jsx
+++ b/src/components/camera.jsx
@@ -12,7 +12,7 @@
<>
<PerspectiveCamera
makeDefault
- position={[-100, 200, 1000]}
+ position={[0, 150, 1100]}
fov={48}
near={1}
far={100000}
diff --git a/src/components/ctrl.jsx b/src/components/ctrl.jsx
index 5fbb464..d590381 100644
--- a/src/components/ctrl.jsx
+++ b/src/components/ctrl.jsx
@@ -31,6 +31,7 @@
ref={controlsRef}
autoRotate
autoRotateSpeed={0.5}
+ target={[-200, 0, 0]}
/>
{/* <PointerCtrl /> */}
</group>
diff --git a/src/components/house.jsx b/src/components/house.jsx
index 293604d..b397353 100644
--- a/src/components/house.jsx
+++ b/src/components/house.jsx
@@ -9,7 +9,7 @@
const House = (props) => {
const {
wallThickness = 2,
- wallOpacity = .6,
+ wallOpacity = 1,
width = DEBUG ? 14000 : 1400,
length = DEBUG ? 12000 : 1200,
height = DEBUG ? 4000 : 400,
diff --git a/src/pages/left/index.jsx b/src/pages/left/index.jsx
index 9be5251..4922587 100644
--- a/src/pages/left/index.jsx
+++ b/src/pages/left/index.jsx
@@ -11,7 +11,7 @@
import CapacityCharts from './components/capacity-charts';
const Left = () => {
- const [isExpanded, setIsExpanded] = useState(false);
+ const [isExpanded, setIsExpanded] = useState(true);
const containerAnimation = useSpring({
transform: isExpanded ? 'translate(0%)' : 'translateX(-100%)',
diff --git a/src/pages/right/index.jsx b/src/pages/right/index.jsx
index 576c077..df56a08 100644
--- a/src/pages/right/index.jsx
+++ b/src/pages/right/index.jsx
@@ -12,7 +12,7 @@
// import Handles from './components/Handles';
const Right = () => {
- const [isExpanded, setIsExpanded] = useState(false);
+ const [isExpanded, setIsExpanded] = useState(true);
const containerAnimation = useSpring({
transform: isExpanded ? 'translate(0%)' : 'translateX(100%)',
--
Gitblit v1.9.1