21 #include <engine/config.hpp>
37 void light::transformed()
void set_color(const math::fvec3 &color)
Sets the color of the light.
virtual void color_updated()
Called each time the light color is modified.
void set_color_temperature(float temperature)
Sets the color of the light from a color temperature.
constexpr const vector_type & get_translation() const noexcept
Returns the translation of the object.
math::vec3< T > cct_to_xyz(T t)
Calculates CIE XYZ colorspace chromaticity coordinates given a correlated color temperature using Kry...
@ color
Vertex color (vec4)