Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
FPS_counter_t Struct Reference

Data Fields

float actual_frame
 
float last_frame
 
int fps
 
trc_timer_t timer
 

Detailed Description

A little self-explanatory

Parameters
actual_frameIs the current time (in ticks)
last_frameIs the last saved time (in ticks)
fpsCurrent count of frames
timerA timer of 1 second, after that it should resets back

Field Documentation

◆ actual_frame

float FPS_counter_t::actual_frame

◆ fps

int FPS_counter_t::fps

◆ last_frame

float FPS_counter_t::last_frame

◆ timer

trc_timer_t FPS_counter_t::timer

The documentation for this struct was generated from the following file: