X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flight.h;fp=source%2Flight.h;h=77542a54f7404b3a346ff8ec5de3cb1399ee6ffc;hb=a6acc6fc98f8571eaaa66f726c1ff4d60abe4f58;hp=1c6a52272f56db8597103093c99a3050602fa7b3;hpb=2579be0c3bf50f060364b937e6b2446ea3547e4b;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;