3 This file is part of libmspgl
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GL_LIGHT_H_
9 #define MSP_GL_LIGHT_H_
29 static unsigned current_unit;
30 static std::vector<const Light *> current_lights;
34 void set_ambient(const Color &c);
35 void set_diffuse(const Color &c);
36 void set_specular(const Color &c);
37 void set_position(float, float, float, float);
39 void bind_to(unsigned) const;
41 static void activate(unsigned);