Skip to content

Instantly share code, notes, and snippets.

@jlebrech
Created January 26, 2011 12:51
Show Gist options
  • Save jlebrech/796640 to your computer and use it in GitHub Desktop.
Save jlebrech/796640 to your computer and use it in GitHub Desktop.
ship = bodies[1]
shipVec = vector(ship:getX(),ship:getY())
planet = bodies[2]
planetVec = vector(planet:getX(),planet:getY())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment