From 23ee4836ed9669b4b80090fb557e7bd7bd15584f Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 5 Apr 1999 02:14:40 +0000 Subject: [PATCH] Fixed a fog coloring bug. --- Time/light.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Time/light.cxx b/Time/light.cxx index c47f652cd..f7e06ea48 100644 --- a/Time/light.cxx +++ b/Time/light.cxx @@ -184,7 +184,8 @@ void fgLIGHT::UpdateAdjFog( void ) { /* 0.0 - 0.6 */ param1[0] = (10.0 - fabs(90.0 - sun_angle_deg)) / 20.0; param1[1] = (10.0 - fabs(90.0 - sun_angle_deg)) / 40.0; - param2[2] = -(10.0 - fabs(90.0 - sun_angle)) / 30.0; + param1[2] = (10.0 - fabs(90.0 - sun_angle_deg)) / 30.0; + // param2[2] = -(10.0 - fabs(90.0 - sun_angle)) / 30.0; } else { param1[0] = param1[1] = param1[2] = 0.0; } @@ -220,6 +221,9 @@ fgLIGHT::~fgLIGHT( void ) { // $Log$ +// Revision 1.27 1999/04/05 02:14:40 curt +// Fixed a fog coloring bug. +// // Revision 1.26 1999/02/05 21:29:20 curt // Modifications to incorporate Jon S. Berndts flight model code. //