X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flighting.h;h=593d8039fe5c8365269b757f963173b14289cd51;hb=ce657d3b7783db9f3450162fbf07210ea1c8c661;hp=794fb75a045497eae7c803b2f86aab9c3d42ce58;hpb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;p=libs%2Fgl.git diff --git a/source/lighting.h b/source/lighting.h index 794fb75a..593d8039 100644 --- a/source/lighting.h +++ b/source/lighting.h @@ -5,6 +5,7 @@ #include "bindable.h" #include "color.h" #include "gl.h" +#include "programdata.h" namespace Msp { namespace GL { @@ -28,6 +29,8 @@ public: void attach(unsigned, const Light &); void detach(unsigned); + + void update_shader_data(ProgramData &, const Matrix &) const; void bind() const; static void unbind();