From 61456137368096439a57ab535ddbe7b49c9d3d28 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 29 May 1997 12:31:39 +0000 Subject: [PATCH] Minor tweaks, moving towards general flight model integration. --- Main/GLmain.c | 11 +++++++++-- Main/mesh2GL.c | 9 ++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Main/GLmain.c b/Main/GLmain.c index f5531f74d..c3f84e5b7 100644 --- a/Main/GLmain.c +++ b/Main/GLmain.c @@ -165,10 +165,14 @@ void fgTimerCatch() { Overrun = (lastSimtime == Simtime); + /* add this back in when you get simtime working */ /* if ( Overrun ) { printf("OVERRUN!!!\n"); } */ + /* update the flight model */ + fgSlewUpdate(); + lastSimtime = Simtime; signal(SIGALRM, fgTimerCatch); } @@ -339,9 +343,12 @@ int main( int argc, char *argv[] ) { /* $Log$ -/* Revision 1.5 1997/05/29 02:33:23 curt -/* Updated to reflect changing interfaces in other "modules." +/* Revision 1.6 1997/05/29 12:31:39 curt +/* 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 * Renamed & rearranged variables and routines. Added some initial simple * timer/alarm routines so the flight model can be updated on a regular diff --git a/Main/mesh2GL.c b/Main/mesh2GL.c index 8232718f5..5524fab31 100644 --- a/Main/mesh2GL.c +++ b/Main/mesh2GL.c @@ -59,7 +59,7 @@ GLint mesh2GL(struct mesh *m) { int i, j, istep, jstep, iend, jend; float temp; - istep = jstep = 4; /* Detail level 1 -- 1200 ... */ + istep = jstep = 8; /* Detail level 1 -- 1200 ... */ mesh = glGenLists(1); glNewList(mesh, GL_COMPILE); @@ -119,9 +119,12 @@ GLint mesh2GL(struct mesh *m) { /* $Log$ -/* Revision 1.7 1997/05/29 02:33:24 curt -/* Updated to reflect changing interfaces in other "modules." +/* Revision 1.8 1997/05/29 12:31:40 curt +/* 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 * Renamed & rearranged variables and routines. Added some initial simple * timer/alarm routines so the flight model can be updated on a regular -- 2.39.2