Created
July 24, 2015 22:49
-
-
Save SET001/f1d1565535aaa0fa2949 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
animate: (t) -> | |
@render() | |
window.requestAnimationFrame @animate.bind @ | |
render: -> | |
@sceneHelpers.updateMatrixWorld() | |
@scene.updateMatrixWorld() | |
@renderer.render @scene, @camera | |
@renderer.render @sceneHelpers, @camera |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment