MCPcopy Create free account
hub / github.com/QuarkGluonPlasma/react-course-code / App

Function App

hello-r3f/src/App.jsx:25–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25function App() {
26 return <Canvas camera={{
27 position: [0, 500, 500]
28 }} style={{
29 width: window.innerWidth,
30 height: window.innerHeight
31 }}>
32 <ambientLight/>
33 <axesHelper args={[1000]}/>
34 <directionalLight position={[500, 400, 300]}/>
35 <OrbitControls/>
36 {/* <Mesh/> */}
37 <Suspense fallback={null}>
38 <Naruto/>
39 </Suspense>
40 </Canvas>
41}
42
43function Naruto() {
44 const gltf = useLoader(GLTFLoader, 'naruto.glb')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected