fix
This commit is contained in:
22
atmosphere/src/App.tsx
Normal file
22
atmosphere/src/App.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import { Canvas } from '@react-three/fiber'
|
||||
import { Scene } from './components/Scene'
|
||||
import './App.css'
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div style={{ width: '100vw', height: '100vh' }}>
|
||||
<Canvas
|
||||
gl={{
|
||||
antialias: false,
|
||||
depth: false,
|
||||
logarithmicDepthBuffer: true,
|
||||
stencil: false
|
||||
}}
|
||||
>
|
||||
<Scene />
|
||||
</Canvas>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default App
|
||||
Reference in New Issue
Block a user