Removed rotation paramter from Light constructor as it is not used.

This commit is contained in:
Fabian Klemp 2014-11-17 16:54:17 +01:00
parent 048ab1ceaf
commit 41ae3908ab
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#include "light.hh" #include "light.hh"
Light::Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity) Light::Light(glm::vec3 position, glm::vec3 colour, float intensity)
: Entity(position, rotation) { : Entity(position, glm::vec3(0.0f, 0.0f, 0.0f)) {
this->colour = colour; this->colour = colour;
this->intensity = intensity; this->intensity = intensity;
} }

View File

@ -6,7 +6,7 @@
class Light : public Entity { class Light : public Entity {
public: 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(); glm::vec3 getColour();
float getIntensity(); float getIntensity();
~Light(); ~Light();