Created
July 6, 2018 09:45
-
-
Save JillevdW/b7a980af1956b280e6cb75ea32e0338d to your computer and use it in GitHub Desktop.
Project
This file contains hidden or 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
private func project(initialVelocity: CGFloat, decelerationRate: CGFloat) -> CGFloat { | |
return (initialVelocity / 1000) * decelerationRate / (1 - decelerationRate) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment