Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
fps_counter.h File Reference

Go to the source code of this file.

Functions

void init_fps_counter (void)
 
void update_fps_counter (void)
 

Function Documentation

◆ init_fps_counter()

void init_fps_counter ( void  )

Initialize the everything to count the frames of the engine per second

The struct that tracks current FPS

◆ update_fps_counter()

void update_fps_counter ( void  )

Update the current counter for the FPS

Note
This NEEDS to be called every frame, in the main loop