X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FScenery%2Fscenery.hxx;h=a0fc95e8ae10794948d0af944cd64b67e0e830f9;hb=d79bfda33f02bbf679a3dd22e36b7dbcb2ab1e4e;hp=baf9cce2267062e5e530d26ee509ed04ce6494d3;hpb=1294aed4650ec2aacef27a7fdeb2f4e012516ca0;p=flightgear.git diff --git a/src/Scenery/scenery.hxx b/src/Scenery/scenery.hxx index baf9cce22..a0fc95e8a 100644 --- a/src/Scenery/scenery.hxx +++ b/src/Scenery/scenery.hxx @@ -30,6 +30,7 @@ #endif +#include #include @@ -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