1#include <Engine/Scene/DirLight.hpp>
3#include <Engine/Data/RenderParameters.hpp>
8DirectionalLight::DirectionalLight( Entity* entity,
const std::string& name ) :
9 Light( entity, Light::DIRECTIONAL, name ) {
10 getRenderParameters().setVariable(
"light.directional.direction", m_direction );
hepler function to manage enum as underlying types in VariableSet