Class Light#

Inheritance Relationships#

Derived Types#

Class Documentation#

class Light#

Subclassed by Kataglyphis::DirectionalLight, Kataglyphis::PointLight

Public Functions

inline Light()#
inline Light(float red, float green, float blue, float rad)#
inline glm::vec3 get_color() const#
inline float get_radiance() const#
virtual ~Light() = default#

Protected Attributes

glm::vec3 color#
float radiance#
glm::mat4 light_proj = {}#