feat(3d): add bocchi and react model

This commit is contained in:
xfy
2025-05-21 15:49:18 +08:00
parent fd5501e1d0
commit 36e380e424
6 changed files with 173 additions and 0 deletions

View File

@ -10,6 +10,8 @@ const ComputerModel = lazy(
() => import('components/models/home/computer-model'),
);
const Target = lazy(() => import('components/models/home/target'));
const ReactLogo = lazy(() => import('components/models/home/react-logo'));
const Bocchi = lazy(() => import('components/models/home/bocchi'));
const ComputerDesk = () => {
const isMobile = useMediaQuery({ query: '(max-width: 768px)' });
@ -32,7 +34,9 @@ const ComputerDesk = () => {
rotation={[0, -Math.PI, 0]}
/>
<Target />
<ReactLogo />
<PerspectiveCamera makeDefault position={[0, 0, 30]} />
<Bocchi />
</Suspense>
</Canvas>
{/* <Leva /> */}