Minor tweaks, moving towards general flight model integration.
This commit is contained in:
parent
47c6fb5a94
commit
6145613736
2 changed files with 15 additions and 5 deletions
|
@ -165,10 +165,14 @@ void fgTimerCatch() {
|
||||||
|
|
||||||
Overrun = (lastSimtime == Simtime);
|
Overrun = (lastSimtime == Simtime);
|
||||||
|
|
||||||
|
/* add this back in when you get simtime working */
|
||||||
/* if ( Overrun ) {
|
/* if ( Overrun ) {
|
||||||
printf("OVERRUN!!!\n");
|
printf("OVERRUN!!!\n");
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
/* update the flight model */
|
||||||
|
fgSlewUpdate();
|
||||||
|
|
||||||
lastSimtime = Simtime;
|
lastSimtime = Simtime;
|
||||||
signal(SIGALRM, fgTimerCatch);
|
signal(SIGALRM, fgTimerCatch);
|
||||||
}
|
}
|
||||||
|
@ -339,9 +343,12 @@ int main( int argc, char *argv[] ) {
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.5 1997/05/29 02:33:23 curt
|
/* Revision 1.6 1997/05/29 12:31:39 curt
|
||||||
/* Updated to reflect changing interfaces in other "modules."
|
/* Minor tweaks, moving towards general flight model integration.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.5 1997/05/29 02:33:23 curt
|
||||||
|
* Updated to reflect changing interfaces in other "modules."
|
||||||
|
*
|
||||||
* Revision 1.4 1997/05/27 17:44:31 curt
|
* Revision 1.4 1997/05/27 17:44:31 curt
|
||||||
* Renamed & rearranged variables and routines. Added some initial simple
|
* Renamed & rearranged variables and routines. Added some initial simple
|
||||||
* timer/alarm routines so the flight model can be updated on a regular
|
* timer/alarm routines so the flight model can be updated on a regular
|
||||||
|
|
|
@ -59,7 +59,7 @@ GLint mesh2GL(struct mesh *m) {
|
||||||
int i, j, istep, jstep, iend, jend;
|
int i, j, istep, jstep, iend, jend;
|
||||||
float temp;
|
float temp;
|
||||||
|
|
||||||
istep = jstep = 4; /* Detail level 1 -- 1200 ... */
|
istep = jstep = 8; /* Detail level 1 -- 1200 ... */
|
||||||
|
|
||||||
mesh = glGenLists(1);
|
mesh = glGenLists(1);
|
||||||
glNewList(mesh, GL_COMPILE);
|
glNewList(mesh, GL_COMPILE);
|
||||||
|
@ -119,9 +119,12 @@ GLint mesh2GL(struct mesh *m) {
|
||||||
|
|
||||||
|
|
||||||
/* $Log$
|
/* $Log$
|
||||||
/* Revision 1.7 1997/05/29 02:33:24 curt
|
/* Revision 1.8 1997/05/29 12:31:40 curt
|
||||||
/* Updated to reflect changing interfaces in other "modules."
|
/* Minor tweaks, moving towards general flight model integration.
|
||||||
/*
|
/*
|
||||||
|
* Revision 1.7 1997/05/29 02:33:24 curt
|
||||||
|
* Updated to reflect changing interfaces in other "modules."
|
||||||
|
*
|
||||||
* Revision 1.6 1997/05/27 17:44:32 curt
|
* Revision 1.6 1997/05/27 17:44:32 curt
|
||||||
* Renamed & rearranged variables and routines. Added some initial simple
|
* Renamed & rearranged variables and routines. Added some initial simple
|
||||||
* timer/alarm routines so the flight model can be updated on a regular
|
* timer/alarm routines so the flight model can be updated on a regular
|
||||||
|
|
Loading…
Add table
Reference in a new issue