X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Flightunit.h;h=bc200ea4aa7283bab9beec8b15d0585c09178944;hp=3f65d770704944134af68f5d9ee178ba0a35b947;hb=HEAD;hpb=48b1ab4fff00c49cc15d70a354eedb3d7a2f3e87 diff --git a/source/lightunit.h b/source/lightunit.h deleted file mode 100644 index 3f65d770..00000000 --- a/source/lightunit.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef MSP_GL_LIGHTUNIT_H_ -#define MSP_GL_LIGHTUNIT_H_ - -#include - -namespace Msp { -namespace GL { - -class Light; - -class LightUnit -{ -private: - unsigned index; - const Light *light; - - static std::vector units; - static LightUnit *cur_unit; - - LightUnit(); - -public: - unsigned get_index() const { return index; } - bool set_light(const Light *); - const Light *get_light() const { return light; } - - static unsigned get_n_units(); - static LightUnit &get_unit(unsigned i); -}; - -} // namespace GL -} // namespace Msp - -#endif