X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Flightunit.h;fp=source%2Flightunit.h;h=0000000000000000000000000000000000000000;hp=bc200ea4aa7283bab9beec8b15d0585c09178944;hb=a40fc85277dba5c34402a0e703d038efd30cc57b;hpb=2fa1bb084e54af7134b44d3ee7512056e28de67e diff --git a/source/lightunit.h b/source/lightunit.h deleted file mode 100644 index bc200ea4..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; - - 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); - static LightUnit *find_unit(const Light *); -}; - -} // namespace GL -} // namespace Msp - -#endif