Refactoring...

This commit is contained in:
2021-07-25 21:21:54 +02:00
parent 87c60187bf
commit 4927720c29
27 changed files with 320 additions and 336 deletions

View File

@@ -6,7 +6,7 @@
uint32_t Light::s_idCounter = 0;
Light::Light(glm::vec3 color, float intensity, ShaderProgram *shaderProgram)
: m_shaderProgram(shaderProgram), m_intensity(intensity)
: Entity("Light"), m_shaderProgram(shaderProgram), m_intensity(intensity)
{
m_id = s_idCounter++;
m_lightColor = color * intensity;