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