ajout prototype get_fps

This commit is contained in:
util1 2019-07-20 16:12:33 +02:00
parent b3d1ff01a4
commit f02b76dbd0
2 changed files with 6 additions and 3 deletions

View File

@ -3,10 +3,13 @@
#include <display.h>
static int time_since_last_frame=0;
static int time_last_frame=0;
static int frame_interval=0;
void FE_new_frame()
{
FE_move(); // Not implemented yet !
FE_zbuffer_clear(); // Not implemented yet !
@ -18,4 +21,4 @@ static void FE_move() // call at each frame
{
// TODO with math functions, not implemented yet !
// TODO insert physical engine
}
}

View File

@ -9,7 +9,7 @@ extern float FE_dh,FE_dv,FE_roulis;
extern FE_Position FE_user={0,0,0};
void FE_new_frame(); // calls move function
int FE_get_fps();
// int FE_get_fps();