From d659013d63635911d769ad86f3b42d5d2cf93f66 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 19 四月 2024 13:22:22 +0800
Subject: [PATCH] #
---
src/components/house.jsx | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/components/house.jsx b/src/components/house.jsx
index cbdd896..90a6a18 100644
--- a/src/components/house.jsx
+++ b/src/components/house.jsx
@@ -3,14 +3,15 @@
import { extend } from '@react-three/fiber';
import { Geometry, Base, Subtraction, Addition } from '@react-three/csg';
import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry';
+import { DEBUG } from '../config/setting';
extend({ TextGeometry });
const House = (props) => {
const {
wallThickness = 2,
- width = 1400,
- length = 1200,
- height = 400,
+ width = DEBUG ? 14000 : 1400,
+ length = DEBUG ? 12000 : 1200,
+ height = DEBUG ? 4000 : 400,
aside_width = 130,
aside_length = 130,
position = new THREE.Vector3(200, 0, 0),
--
Gitblit v1.9.1