diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
commit | c11c0174ece92b4502648ad33653975bfdfc39a0 (patch) | |
tree | 88860bfcbb7206834e61533af79f7631b5638cb2 /src/model/light.cc | |
parent | 7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff) |
lights with entity color, sunlight, network stats
Diffstat (limited to 'src/model/light.cc')
-rw-r--r-- | src/model/light.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/model/light.cc b/src/model/light.cc index f9f6b5c..f391a44 100644 --- a/src/model/light.cc +++ b/src/model/light.cc @@ -12,6 +12,7 @@ Light::Light() : light_location(), light_color(1.0f, 1.0f, 1.0f) { + light_entity = false; light_strobe = false; light_radius = 1.0f; light_frequency = 1.0f; @@ -21,6 +22,7 @@ Light::Light() : render_texture = 0; } +/* Light::Light(math::Vector3f const & location, math::Color const & color, bool strobe) : light_location(location), light_color(color) @@ -33,7 +35,7 @@ Light::Light(math::Vector3f const & location, math::Color const & color, bool st light_flare = 0; render_texture = 0; } - +*/ Light::~Light() {} |