X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flighting.h;h=31e75a44c66b36442778b7ac2d07e0add0a6f342;hb=9a9d3517dcfdba5206d9c73ce211feac8e402bc2;hp=85d5fb0406c877cb0d89e855cc6d6cff2b90a384;hpb=efe80f5a696b4a3be2378dc6d635c89676afa12d;p=libs%2Fgl.git diff --git a/source/lighting.h b/source/lighting.h index 85d5fb04..31e75a44 100644 --- a/source/lighting.h +++ b/source/lighting.h @@ -9,6 +9,7 @@ Distributed under the LGPL #define MSP_GL_LIGHTING_H_ #include +#include "bindable.h" #include "color.h" #include "gl.h" @@ -25,14 +26,12 @@ enum /** Encapsulates global lighting parameters and a number of individual lights. */ -class Lighting +class Lighting: public Bindable { private: Color ambient; std::vector lights; - static const Lighting *current; - public: Lighting();