diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-03 21:04:02 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-03 21:04:02 +0000 |
commit | 82293065b52f5a4e5c4ccde5eade4ebae18014ca (patch) | |
tree | 254f1fa3259f03f033b3d1fd225742a12de167b1 /src/model/light.cc | |
parent | 5388c37bdc040ba50d21ec16a01f399d20592a90 (diff) |
liibmodel
Diffstat (limited to 'src/model/light.cc')
-rw-r--r-- | src/model/light.cc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/model/light.cc b/src/model/light.cc new file mode 100644 index 0000000..83a0cb8 --- /dev/null +++ b/src/model/light.cc @@ -0,0 +1,27 @@ +/* + model/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 "model/light.h" + +namespace model { + +Light::Light(math::Vector3f const & location, math::Color const & color, bool strobe) : + light_location(location), + light_color(color) +{ + light_strobe = strobe; + light_radius = 1.0f; + light_frequency = 1.0f; + light_offset = 0.0f; + light_time = 0.5f; + light_flare = 0; + render_texture = 0; +} + +Light::~Light() +{} + +} |