#endif
-#include <Math/point3d.hxx>
+#include <plib/sg.h>
+#include <simgear/math/point3d.hxx>
// Define a structure containing global scenery parameters
// 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;
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