C++ FPS counter
There many angles to do this and here is mine.
// include ctime to get timestamp include
And call fps() after each update in your main loop.
There many angles to do this and here is mine.
// include ctime to get timestamp include
And call fps() after each update in your main loop.