Jack_Fog

Animate fail

Apr 20th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Now, show what the camera sees on the screen:
  2.   renderer.render(scene, camera);
  3.   function animate() {
  4.   requestAnimationFrame(animate);
  5.   avtar.rotation.z = avatar.rotation.z +0.05;
  6.   renderer.render(scene, camera);
  7.   }
  8.   (animate);
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment