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 6f89c406f1
commit 94b12ae614
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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();