Skip to content

Instantly share code, notes, and snippets.

@lalanikarim
Created September 11, 2012 04:27
Show Gist options
  • Save lalanikarim/3695961 to your computer and use it in GitHub Desktop.
Save lalanikarim/3695961 to your computer and use it in GitHub Desktop.
Prepare Timer
ITimer * irrTimer = device->getTimer();
u32 TimeStamp = irrTimer->getTime();
f32 DeltaTime = 0, LastDelta = 0;
u32 CurrentTime = TimeStamp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment