From 94b12ae6142b2c4ec37a664a77f3c446155297aa Mon Sep 17 00:00:00 2001 From: Fabian Klemp Date: Mon, 17 Nov 2014 16:54:17 +0100 Subject: [PATCH] Removed rotation paramter from Light constructor as it is not used. --- light.cc | 4 ++-- light.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/light.cc b/light.cc index 3dc7879..5eba957 100644 --- a/light.cc +++ b/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; } diff --git a/light.hh b/light.hh index d66288f..540e5d9 100644 --- a/light.hh +++ b/light.hh @@ -6,7 +6,7 @@ class Light : public Entity { public: - Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity); + Light(glm::vec3 position, glm::vec3 colour, float intensity); glm::vec3 getColour(); float getIntensity(); ~Light();