X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fsky.h;h=782aef1ceb1d0b0faa2c5e58a6407118834b0457;hp=be31b3085625001c9603adb1c28f4232e64862da;hb=adc26a2e141a2853b6c5025130c46a46cece4b84;hpb=e6e6f0fe81a2f92985e65ae0de708974194d81a3 diff --git a/source/effects/sky.h b/source/effects/sky.h index be31b308..782aef1c 100644 --- a/source/effects/sky.h +++ b/source/effects/sky.h @@ -8,8 +8,8 @@ namespace Msp { namespace GL { +class DirectionalLight; class Mesh; -class Light; class Program; /** @@ -41,7 +41,7 @@ public: private: Planet planet; - Light &sun; + DirectionalLight &sun; RenderTarget transmittance_lookup; const Program &transmittance_shprog; bool transmittance_lookup_dirty; @@ -56,7 +56,7 @@ private: bool rendered; public: - Sky(Renderable &, Light &); + Sky(Renderable &, DirectionalLight &); void set_planet(const Planet &); void set_view_height(float);