Skip to content

Instantly share code, notes, and snippets.

@wess
Created July 26, 2013 14:44
Show Gist options
  • Save wess/6089406 to your computer and use it in GitHub Desktop.
Save wess/6089406 to your computer and use it in GitHub Desktop.
static AnnexEasingBlock AnnexEaseInQuad = ^CGFloat(AnnexEasingProperty property) {
CGFloat t = property.time,
b = property.start,
c = property.delta,
d = property.duration;
return c * (t /= d) * (t + b);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment