|
Trace Engine
A Raycaster Engine in C
|
#include <delta_time.h>
Data Fields | |
| float | actual_frame |
| float | last_frame |
| float | delta_time |
A counter for delta time, the difference between every frame
| actual_frame | The total time elapsed, in miliseconds |
| last_frame | The last registered frame, in miliseconds |
| delta_time | The difference between actual_frame and last_frame |
| float delta_time_counter_t::actual_frame |
Time of the current frame (the one being calculated)
| float delta_time_counter_t::delta_time |
actual_frame - last_frame
| float delta_time_counter_t::last_frame |
Time of the last frame (the one being shown)