1
0
This commit is contained in:
2024-08-02 10:11:21 +09:00
parent 60752528a1
commit a220666070

View File

@@ -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}>