From d18dd311f9b7a7a77a832f57e74434d946f6f0c5 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 11 五月 2024 10:43:39 +0800
Subject: [PATCH] #
---
src/pages/fiber.jsx | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/src/pages/fiber.jsx b/src/pages/fiber.jsx
index f205f13..c108f86 100644
--- a/src/pages/fiber.jsx
+++ b/src/pages/fiber.jsx
@@ -1,6 +1,5 @@
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'
@@ -25,16 +24,14 @@
<Lights />
<Camera />
<Sky distance={450000} sunPosition={[0, 1, 0]} inclination={0} azimuth={0.25} />
- {/* <Buildings /> */}
- {/* <TreeGroup /> */}
- {/* <House /> */}
+ <Buildings />
+ <TreeGroup />
+ <House />
<Warehouse />
- <OrbitControls />
- <Environment background preset="night" />
<Help />
</Canvas>
- {/* <Left /> */}
- {/* <Right /> */}
+ <Left />
+ <Right />
</div>
)
--
Gitblit v1.9.1