Removed rotation paramter from Light constructor as it is not used.
This commit is contained in:
parent
6f89c406f1
commit
94b12ae614
4
light.cc
4
light.cc
@ -1,7 +1,7 @@
|
||||
#include "light.hh"
|
||||
|
||||
Light::Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity)
|
||||
: Entity(position, rotation) {
|
||||
Light::Light(glm::vec3 position, glm::vec3 colour, float intensity)
|
||||
: Entity(position, glm::vec3(0.0f, 0.0f, 0.0f)) {
|
||||
this->colour = colour;
|
||||
this->intensity = intensity;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user