OWL

OWL - Open Windowing Library


FPSLimiter

FPSLimiter is a class used to limit frames per second in our program.

It has 3 functions:

Example of usage:

// before main loop
OWL::FPSLimiter fps;
fps.setDesiredFPS(60);

// at the start of the main loop, after polling the events (OWL::Window::pollEvents())
fps.start();

// at the end of main loop, after finishing the drawing
fps.end();