Skip to content

Commit

Permalink
Final adjustment to the spider
Browse files Browse the repository at this point in the history
  • Loading branch information
goncalomcb committed Sep 24, 2023
1 parent 6bdaeb8 commit 7b0c5ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/planet.js
Original file line number Diff line number Diff line change
Expand Up @@ -1022,8 +1022,8 @@ function animate() {
}

if (gameOn) {
spiderPhi -= spiderVel;
sbody.rotateX(-spiderVel);
spiderPhi += spiderVel;
sbody.rotateX(spiderVel);
}


Expand Down

0 comments on commit 7b0c5ce

Please sign in to comment.