diff --git a/reactt/shirt/src/App.jsx b/reactt/shirt/src/App.jsx index aa9fe89..e393343 100644 --- a/reactt/shirt/src/App.jsx +++ b/reactt/shirt/src/App.jsx @@ -1,6 +1,17 @@ +import { Suspense } from 'react'; +import { Canvas } from "@react-three/fiber"; +import { OrbitControls } from '@react-three/drei' +import { Model } from "./Model"; export default function App() { -return ( - <> -); + return ( + + + + + + + + + ); } \ No newline at end of file diff --git a/reactt/shirt/src/Model.jsx b/reactt/shirt/src/Model.jsx new file mode 100644 index 0000000..daf9704 --- /dev/null +++ b/reactt/shirt/src/Model.jsx @@ -0,0 +1,8 @@ +import { useGLTF } from '@react-three/drei' + +export function Model() { + const { scene } = useGLTF('/models/ShirtBaked2.glb') + return +} + +useGLTF.preload('/models/ShirtBaked2.glb')