Skip to content

Instantly share code, notes, and snippets.

View ripwin's full-sized avatar
🤨

Sathiya Kirushna ripwin

🤨
View GitHub Profile
// Stating point
/* Utilizes lockstep rendering.
* A big thanks to Tyler Glaiel for the sample code.
* https://github.com/TylerGlaiel/FrameTimingControl
* */
void Application::run(std::unique_ptr<IGame> game)
{
m_game = std::move(game);
auto const fixedStepTarget{