1
0
Fork 0

Converted to a simpler frame rate calculation method.

This commit is contained in:
curt 1998-12-18 23:34:42 +00:00
parent 915b2d9d88
commit 152eb395bd

View file

@ -30,7 +30,7 @@
#define _GENERAL_H
#define FG_FRAME_RATE_HISTORY 10
/* #define FG_FRAME_RATE_HISTORY 10 */
/* the general house keeping structure definition */
@ -41,8 +41,8 @@ typedef struct {
char *glVersion;
/* Last frame rate measurement */
double frame_rate;
double frames[FG_FRAME_RATE_HISTORY];
int frame_rate;
/* double frames[FG_FRAME_RATE_HISTORY]; */
/* panel rendering status */
int panel_hist;
@ -56,9 +56,12 @@ extern fgGENERAL general;
/* $Log$
/* Revision 1.8 1998/08/20 15:09:46 curt
/* Added a status flat for instrument panel use.
/* Revision 1.9 1998/12/18 23:34:42 curt
/* Converted to a simpler frame rate calculation method.
/*
* Revision 1.8 1998/08/20 15:09:46 curt
* Added a status flat for instrument panel use.
*
* Revision 1.7 1998/07/03 14:36:11 curt
* Added conversion constants to fg_constants.h to assist with converting
* between various world units and coordinate systems.