--------------------------------- LightComponent::c-tor
| 39 | // LightComponent::c-tor |
| 40 | // |
| 41 | LightComponent::LightComponent(E_Type const type, vec3 const& color, float const brightness, bool const castsShadow) |
| 42 | : m_Type(type) |
| 43 | , m_Color(color) |
| 44 | , m_Brightness(brightness) |
| 45 | , m_CastsShadow(castsShadow) |
| 46 | { |
| 47 | ET_ASSERT((!castsShadow) || (type == E_Type::Directional), "Point light shadows are not supported"); |
| 48 | } |
| 49 | |
| 50 | |
| 51 | //============================ |
nothing calls this directly
no outgoing calls
no test coverage detected