Saxum/light.cc

22 lines
354 B
C++
Raw Normal View History

2014-10-30 22:32:21 +00:00
#include "light.hh"
Light::Light(glm::vec3 position, glm::vec3 colour, float intensity)
: Entity(position, glm::vec3(0.0f, 0.0f, 0.0f)) {
2014-10-30 22:32:21 +00:00
this->colour = colour;
this->intensity = intensity;
}
2014-11-17 16:50:06 +00:00
Light::Light() {
}
2014-10-30 22:32:21 +00:00
Light::~Light() {
}
2014-11-03 22:28:06 +00:00
glm::vec3 Light::getColour() {
return colour;
}
float Light::getIntensity() {
return intensity;
}