diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/light.cc | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/render/light.cc b/src/render/light.cc new file mode 100644 index 0000000..cc8453e --- /dev/null +++ b/src/render/light.cc @@ -0,0 +1,35 @@ +/* + render/light.cc + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#include "render/light.h" + +namespace render +{ + +Light::Light() : + light_location(), + light_color(), + light_attenuation(1.0f, 0.0f, 0.0f) +{ + +} + +Light::Light(const math::Vector3f & location, const math::Color & color) : + light_location(location), + light_color(color), + light_attenuation(1.0f, 0.0f, 0.0f) +{ + +} + +Light::~Light() +{ +} + + +} // namespace render + + |