X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flighting.h;h=794fb75a045497eae7c803b2f86aab9c3d42ce58;hb=f14435e58bfa0fa697a06ba9a454bb30cd37d9d8;hp=85d5fb0406c877cb0d89e855cc6d6cff2b90a384;hpb=efe80f5a696b4a3be2378dc6d635c89676afa12d;p=libs%2Fgl.git diff --git a/source/lighting.h b/source/lighting.h index 85d5fb04..794fb75a 100644 --- a/source/lighting.h +++ b/source/lighting.h @@ -1,14 +1,8 @@ -/* $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_ #include +#include "bindable.h" #include "color.h" #include "gl.h" @@ -17,22 +11,15 @@ namespace GL { class Light; -enum -{ - LIGHTING = GL_LIGHTING -}; - /** 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();