Scaled down light source cube

This commit is contained in:
Robert 2020-09-07 10:45:46 +02:00
parent 9007d33028
commit a449e32ef5

View file

@ -56,7 +56,7 @@ PointLight::PointLight(glm::vec3 position, glm::vec3 color, float intensity) :
}
transformation = glm::translate(transformation, position);
transformation = glm::scale(transformation, glm::vec3(0.1f));
transformation = glm::scale(transformation, glm::vec3(0.05f));
}
void PointLight::Draw(const Shader& program)