Skip to content

Instantly share code, notes, and snippets.

@Ratstail91
Forked from loganwm/gist:5747100
Created June 10, 2013 08:14
Show Gist options
  • Save Ratstail91/5747225 to your computer and use it in GitHub Desktop.
Save Ratstail91/5747225 to your computer and use it in GitHub Desktop.
while(1)
{
calculateDT
disaptch inbound packets (you don't pass DT here, instead, this should have a reference to your gamestate object)
update accordingly (pass DT HERE)
render
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment