Class Light

Inheritance Relationships

Derived Types

Class Documentation

class Light

Subclassed by DirectionalLight, PointLight

Public Functions

Light()
Light(GLfloat red, GLfloat green, GLfloat blue, GLfloat radiance)
inline glm::vec3 get_color() const
inline float get_radiance() const
~Light()

Protected Attributes

glm::vec3 color
float radiance
glm::mat4 light_proj