Saxum/light.cc

27 lines
469 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, float flameOffset)
: Entity(position, glm::vec3(0.0f, 0.0f, 0.0f)) {
2014-10-30 22:32:21 +00:00
this->colour = colour;
this->intensity = intensity;
this->flameOffset = flameOffset;
2014-10-30 22:32:21 +00:00
}
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;
}
float Light::getFlameOffset() {
return flameOffset;
}