Browse Source

Update Creating-a-scene.html

Final cube rotation code didn't match tutorial code
Reed Jones 7 years ago
parent
commit
11639ff2c1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/manual/introduction/Creating-a-scene.html

+ 2 - 2
docs/manual/introduction/Creating-a-scene.html

@@ -150,8 +150,8 @@
 					var animate = function () {
 					var animate = function () {
 						requestAnimationFrame( animate );
 						requestAnimationFrame( animate );
 
 
-						cube.rotation.x += 0.1;
-						cube.rotation.y += 0.1;
+						cube.rotation.x += 0.01;
+						cube.rotation.y += 0.01;
 
 
 						renderer.render( scene, camera );
 						renderer.render( scene, camera );
 					};
 					};