X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flight.h;h=77542a54f7404b3a346ff8ec5de3cb1399ee6ffc;hb=47af19a447e6c13257ca2d0aef606ea45f8a0d98;hp=1c6a52272f56db8597103093c99a3050602fa7b3;hpb=126161d1d44ab9503bc747d24a07b7b9d15e527a;p=libs%2Fgl.git diff --git a/source/light.h b/source/light.h index 1c6a5227..77542a54 100644 --- a/source/light.h +++ b/source/light.h @@ -8,6 +8,9 @@ namespace Msp { namespace GL { +class Matrix; +class ProgramData; + class Light { private: @@ -53,6 +56,7 @@ public: void set_attenuation(float, float, float); const float *get_attenuation() const { return attenuation; } + void update_shader_data(ProgramData &, const Matrix &, unsigned) const; void bind() const { return bind_to(0); } void bind_to(unsigned) const;