Skip to content

Instantly share code, notes, and snippets.

@PhilippeBoisney
Last active March 1, 2017 11:00
Show Gist options
  • Save PhilippeBoisney/0fa6b062fb7f5a8fc93f981874586ac5 to your computer and use it in GitHub Desktop.
Save PhilippeBoisney/0fa6b062fb7f5a8fc93f981874586ac5 to your computer and use it in GitHub Desktop.
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