Skip to content

Commit

Permalink
Prevent the cuboid from spinning, dizzy
Browse files Browse the repository at this point in the history
  • Loading branch information
MattyRad committed Feb 8, 2020
1 parent 3053199 commit 58c2fb4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions public/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ camera.position.z = 5;
var animate = function () {
requestAnimationFrame( animate );

cube.rotation.x += 0.1;
cube.rotation.y += 0.1;

renderer.render(scene, camera);
};

Expand Down

0 comments on commit 58c2fb4

Please sign in to comment.