Saxum/light.cc
2014-11-03 23:28:06 +01:00

19 lines
335 B
C++

#include "light.hh"
Light::Light(glm::vec3 position, glm::vec3 rotation, glm::vec3 colour, float intensity)
: Entity(position, rotation) {
this->colour = colour;
this->intensity = intensity;
}
Light::~Light() {
}
glm::vec3 Light::getColour() {
return colour;
}
float Light::getIntensity() {
return intensity;
}