49 void update(GLuint ambientIntensityLocation, GLuint ambientColorLocation);
AmbientLight()
Default constructor - this is probably not the constructor you want to use - see below.
Definition: AmbientLight.hpp:24
Class for initializing and using OpenGL ambient lighting.
Definition: AmbientLight.hpp:15
void update(GLuint ambientIntensityLocation, GLuint ambientColorLocation)
Use an OpenGL ambient light source.
GLfloat m_ambientIntensity
Intensity value for the ambient lighting.
Definition: AmbientLight.hpp:53
glm::vec4 m_color
Color of the ambient lighting.
Definition: AmbientLight.hpp:52