1 #ifndef MSP_GL_LIGHTUNIT_H_
2 #define MSP_GL_LIGHTUNIT_H_
17 static std::vector<LightUnit> units;
18 static LightUnit *cur_unit;
23 unsigned get_index() const { return index; }
24 bool set_light(const Light *);
25 const Light *get_light() const { return light; }
27 static unsigned get_n_units();
28 static LightUnit &get_unit(unsigned i);
29 static LightUnit *find_unit(const Light *);