From a8a92cee21e1e5fba3d312bf3043b4e1b96d5576 Mon Sep 17 00:00:00 2001 From: Evan Goers Date: Sun, 8 Jan 2012 11:16:35 +0000 Subject: Implemented zone ambient color usage in renderer. --- src/core/zone.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/zone.cc b/src/core/zone.cc index f33fc60..8050716 100644 --- a/src/core/zone.cc +++ b/src/core/zone.cc @@ -118,7 +118,7 @@ void Zone ::clear() Zone::Zone(std::string const & label) : Label(label), - zone_ambient_color(1.0f, 1.0f, 1.0f) + zone_ambient_color(0.1f, 0.1f, 0.1f) { zone_id = 0; zone_defaultview = 0; @@ -138,7 +138,7 @@ Zone::Zone(std::string const & label) : Zone::Zone(std::istream & is) : Label(), - zone_ambient_color(1.0f, 1.0f, 1.0f) + zone_ambient_color(0.1f, 0.1f, 0.1f) { zone_id = 0; zone_defaultview = 0; @@ -276,7 +276,7 @@ void Zone::serialize_server_update(std::ostream & os) const void Zone::receive_server_update(std::istream &is) { unsigned int id = 0; - float r = 1.0f, g = 1.0f, b = 1.0f; + float r = 0.1f, g = 0.1f, b = 0.1f; std::string n; char c; -- cgit v1.2.3