#include <osg/Switch>
#include <simgear/ephemeris/ephemeris.hxx>
+#include <simgear/math/SGMath.hxx>
#include <simgear/scene/sky/cloud.hxx>
#include <simgear/scene/sky/dome.hxx>
typedef struct {
- SGVec3f view_pos, zero_elev, view_up;
- double lon, lat, alt, spin;
+ SGVec3d pos;
+ SGGeod pos_geod;
+ SGQuatd ori;
+ double spin;
double gst;
double sun_dist;
double moon_dist;
*/
inline SGVec4f get_sun_color() { return oursun->get_color(); }
+ /**
+ * Get the current scene color
+ */
+ inline SGVec4f get_scene_color() { return oursun->get_scene_color(); }
+
/**
* Add a cloud layer.
*