|
|
"Dynamic, accurate, and smart frame limiting", by second chance
|
This code will delay main loop execution to provide accurate frame limiting "on the fly" based on how long the main loop takes to execute each cycle. Use any "frame per second" code to verify correct frame speed. Frame speed variance is usually within 1 fps. Not bad, eh? :) |
| Code | | | |