]> git.mxchange.org Git - flightgear.git/blobdiff - Scenery/geometry.c
Changed naming scheme of basic shared structures.
[flightgear.git] / Scenery / geometry.c
index d81c862a97e1c05d36974060c4ee9f2992c699d1..da2b4b7bb9ce8f985bab7df3b207e2c2bdb52e15 100644 (file)
@@ -33,7 +33,7 @@
 
 
 static vrmlGeometryType;
-static struct mesh eg;
+struct MESH eg;
 
 
 /* Begin a new vrml geometry statement */
@@ -109,17 +109,26 @@ int vrmlFreeGeometry() {
 
     switch(vrmlGeometryType) {
     case VRML_ELEV_GRID:
-       free(eg.mesh_data);
+       /* We need to rethink this here, we can't just free the data,
+         * because we need it to calculate current ground elevation
+         * ... */
+       /* free(eg.mesh_data); */
     }
     return(vrmlGeometryType);
 }
 
 
 /* $Log$
-/* Revision 1.2  1997/07/07 20:59:51  curt
-/* Working on scenery transformations to enable us to fly fluidly over the
-/* poles with no discontinuity/distortion in scenery.
+/* Revision 1.4  1997/08/27 03:30:26  curt
+/* Changed naming scheme of basic shared structures.
 /*
+ * Revision 1.3  1997/07/08 18:20:13  curt
+ * Working on establishing a hard ground.
+ *
+ * Revision 1.2  1997/07/07 20:59:51  curt
+ * Working on scenery transformations to enable us to fly fluidly over the
+ * poles with no discontinuity/distortion in scenery.
+ *
  * Revision 1.1  1997/06/29 21:16:48  curt
  * More twiddling with the Scenery Management system.
  *