]> git.mxchange.org Git - flightgear.git/blobdiff - src/Scenery/scenery.hxx
A couple clean ups ...
[flightgear.git] / src / Scenery / scenery.hxx
index 50b03c36d051338b4a45afa5bea20aded9a3f68e..a0fc95e8ae10794948d0af944cd64b67e0e830f9 100644 (file)
@@ -30,6 +30,7 @@
 #endif                                   
 
 
+#include <plib/sg.h>
 #include <simgear/math/point3d.hxx>
 
 
@@ -51,6 +52,9 @@ struct fgSCENERY {
     // 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;
@@ -60,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