Last active
March 1, 2017 11:00
-
-
Save PhilippeBoisney/0fa6b062fb7f5a8fc93f981874586ac5 to your computer and use it in GitHub Desktop.
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
let transform = CATransform3DTranslate(transform, (pow(x,3) - (x * 25)) * subsWeights[index].x, (pow(x,3) - (x * 20)) * subsWeights[index].y, 0 ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment