()
| 23 | } |
| 24 | |
| 25 | function 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 | |
| 43 | function Naruto() { |
| 44 | const gltf = useLoader(GLTFLoader, 'naruto.glb') |
nothing calls this directly
no outgoing calls
no test coverage detected