]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/dome.hxx
accomodate changes to osgDB::DatabasePager interface
[simgear.git] / simgear / scene / sky / dome.hxx
index 335dfd4e12ebba7d5338669ef32d901cd831f726..13fcf24366f7edd30bd138556886b76048f76b3c 100644 (file)
 #include <simgear/structure/SGReferenced.hxx>
 #include <simgear/math/SGMath.hxx>
 
-class osg::DrawElementsUShort;
+namespace osg
+{
+class DrawElementsUShort;
+}
 
 class SGSkyDome : public SGReferenced {
     osg::ref_ptr<osg::MatrixTransform> dome_transform;
@@ -61,8 +64,8 @@ public:
     // 0 degrees = high noon
     // 90 degrees = sun rise/set
     // 180 degrees = darkest midnight
-    bool repaint( const SGVec3f& sky_color, const SGVec3f& fog_color,
-                  double sun_angle, double vis );
+    bool repaint( const SGVec3f& sun_color, const SGVec3f& sky_color,
+                  const SGVec3f& fog_color, double sun_angle, double vis );
 
     // reposition the sky at the specified origin and orientation
     // lon specifies a rotation about the Z axis