#ifndef LIGHT_H #define LIGHT_H #include #include #include #define MAX_LIGHTS 4 class Shader; class Lights { private: typedef struct { glm::vec3 position; glm::vec3 color; } Light; std::vector lights; public: void addLight(const glm::vec3 &myPosition = glm::vec3(0), const glm::vec3 myColor = glm::vec3(1)); void bind(GLuint lightsLocation, GLuint nbLocation, Shader* shader); }; #endif // LIGHT_H