mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-16 01:01:38 +00:00
feat(3d): add bocchi and react model
This commit is contained in:
@ -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 /> */}
|
||||
|
Reference in New Issue
Block a user