SpiecsEngine
 
Loading...
Searching...
No Matches

◆ DirectionalLightComponent() [1/2]

Spices::DirectionalLightComponent::DirectionalLightComponent ( const glm::vec3 & color = glm::vec3(1.0f),
float intensity = 1.0f )
inline

Constructor Function.

Definition at line 27 of file DirectionalLightComponent.h.

31 : m_DirectionalLight{ glm::mat4(1.0f), color, intensity }
32 {}
SpicesShader::DirectionalLight m_DirectionalLight
This DirectionalLight data this component handled.

References DirectionalLightComponent().

Referenced by DirectionalLightComponent().