Saxum/light.cc
2014-11-17 17:50:06 +01:00

22 lines
354 B
C++

#include "light.hh"
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;
}
Light::Light() {
}
Light::~Light() {
}
glm::vec3 Light::getColour() {
return colour;
}
float Light::getIntensity() {
return intensity;
}