fix
This commit is contained in:
@@ -99,14 +99,7 @@ useGLTF.preload('./models/galaxy.glb')
|
||||
export const ThreeFiberGalaxy = () => {
|
||||
return (
|
||||
<Canvas camera={{ position: [0, 12, 0], fov: 75 }}>
|
||||
<OrbitControls
|
||||
enableZoom={true}
|
||||
enablePan={true}
|
||||
enableRotate={true}
|
||||
zoomSpeed={2}
|
||||
panSpeed={2}
|
||||
rotateSpeed={0.5}
|
||||
/>
|
||||
<OrbitControls enableZoom={true} enablePan={true} enableRotate={true} zoomSpeed={2} panSpeed={2} rotateSpeed={0.5} />
|
||||
<ambientLight />
|
||||
<pointLight position={[10, 10, 10]} />
|
||||
<ScrollControls pages={5}>
|
||||
|
Reference in New Issue
Block a user