]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/scenery.hxx
A couple clean ups ...
[flightgear.git] / src / Scenery / scenery.hxx
index baf9cce2267062e5e530d26ee509ed04ce6494d3..a0fc95e8ae10794948d0af944cd64b67e0e830f9 100644 (file)
@@ -30,6 +30,7 @@
 #endif                                   
 
 
+#include <plib/sg.h>
 #include <simgear/math/point3d.hxx>
 
 
@@ -47,6 +48,13 @@ struct fgSCENERY {
     // elevation of terrain at our current lat/lon (based on the
     // actual drawn polygons)
     double cur_elev;
+
+    // the distance (radius) from the center of the earth to the
+    // current scenery elevation point
+    double cur_radius;
+
+    // unit normal at point used to determine current elevation
+    sgdVec3 cur_normal;
 };
 
 extern struct fgSCENERY scenery;
@@ -56,15 +64,6 @@ extern struct fgSCENERY scenery;
 int fgSceneryInit( void );
 
 
-// Tell the scenery manager where we are so it can load the proper
-// data, and build the proper structures.
-void fgSceneryUpdate(double lon, double lat, double elev);
-
-
-// Render out the current scene
-void fgSceneryRender( void );
-
-
 #endif // _SCENERY_HXX