]> git.mxchange.org Git - flightgear.git/commitdiff
Minor tweaks, moving towards general flight model integration.
authorcurt <curt>
Thu, 29 May 1997 12:31:39 +0000 (12:31 +0000)
committercurt <curt>
Thu, 29 May 1997 12:31:39 +0000 (12:31 +0000)
Main/GLmain.c
Main/mesh2GL.c

index f5531f74df9a38bef2911f139299da0d19c25c7e..c3f84e5b781496d16c358f52b5796489c4589eb4 100644 (file)
@@ -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 
index 8232718f5fec19c9e08c955f98be288b7ff81665..5524fab3148216724aa01dae91d8230cc1bc5c95 100644 (file)
@@ -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