-
-
Save patkap1994/60e4a8d6bdc47e6e962e683eb2e68880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function animate() { | |
mesh.rotation.x += 0.003 | |
mesh.rotation.y += 0.004 | |
mesh.rotation.z += 0.005 | |
renderer.render(scene, camera) | |
window.requestAnimationFrame(animate) | |
} | |
animate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment