diff options
author | Stijn Buys <ingar@osirion.org> | 2012-05-01 20:44:11 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-05-01 20:44:11 +0000 |
commit | 486f74a45c8241862f2b94d63e54aeb2bc5d5424 (patch) | |
tree | f4b1c357d630cde55e822d8bf31bff0b73cfde50 | |
parent | ba3ac1309452b4622d4f90ee95d8d987b451f7e1 (diff) |
Added light environment classes
-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 + + |