Skip to content

Commit

Permalink
fix: Move camera initial position backward
Browse files Browse the repository at this point in the history
  • Loading branch information
alimoezzi committed May 8, 2022
1 parent bb22f47 commit e6a4c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ export default function Home() {
const cam = useRef()
const canvasRef = useRef()
const [{ pos, rotation }, set] = useSpring(() => ({
pos: [0, 0, startZ],
pos: [0, 0, startZ + 4],
rotation: [0, 0, 0],
config: config.slow
}))
Expand Down

0 comments on commit e6a4c01

Please sign in to comment.