-
-
Save jbilcke/1352011 to your computer and use it in GitHub Desktop.
I SMELL A BUG THERE
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
switch (obj) { | |
case 'y' : tween = new TWEEN.Tween(camera.position).to({x:camera.position.x-to}, 2000).delay(0).easing(TWEEN.Easing.Circular.EaseOut).onUpdate( function() {}).start(); break; | |
case 'x' : tween = new TWEEN.Tween(camera.position).to({z:camera.position.z-to}, 2000).delay(0).easing(TWEEN.Easing.Circular.EaseOut).onUpdate( function() {}).start(); break; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment