Skip to content

Instantly share code, notes, and snippets.

@SpaceShot
Created August 13, 2012 12:20
Show Gist options
  • Save SpaceShot/3340125 to your computer and use it in GitHub Desktop.
Save SpaceShot/3340125 to your computer and use it in GitHub Desktop.
Calculate angle at which clown bounces back up
int angle = trampolineRectangle.Center.X - clownRectangle.Center.X + 90;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment