Open alice-i-cecile opened 5 years ago
https://gafferongames.com/post/fix_your_timestep/
http://gameprogrammingpatterns.com/game-loop.html
Prerequisite to implementing differential physics engine. Ultimately, vary both frame rate and physics precision based on available resources
Also simplifies code interface for running in headless mode.
https://gafferongames.com/post/fix_your_timestep/
http://gameprogrammingpatterns.com/game-loop.html