|
ST_engine
0.3-ALPHA
|
An fps counter. More...
#include <fps.hpp>
Public Member Functions | |
| void | update (double time, double frame_time) |
| float | get_value () const |
An fps counter.
Provides average frame-rates over ~1 second. We need this class, because the framerate is otherwise constantly fluctuating.
| float fps::get_value | ( | ) | const |
| void fps::update | ( | double | time, |
| double | frame_time | ||
| ) |