X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flighting.h;h=593d8039fe5c8365269b757f963173b14289cd51;hb=a1eb8711ba225bb4423868c50369ad5592465171;hp=76c241e9fa5c46e0ff6aefbcd17ef4dadfc81bdc;hpb=b824398c547964c2862c4bf9f76426e1e8a4c1cb;p=libs%2Fgl.git diff --git a/source/lighting.h b/source/lighting.h index 76c241e9..593d8039 100644 --- a/source/lighting.h +++ b/source/lighting.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspgl -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_GL_LIGHTING_H_ #define MSP_GL_LIGHTING_H_ @@ -12,6 +5,7 @@ Distributed under the LGPL #include "bindable.h" #include "color.h" #include "gl.h" +#include "programdata.h" namespace Msp { namespace GL { @@ -35,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();