X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Time%2Flight.cxx;h=6cea78b11245f6a68dd31b4ad16df99c320ad69b;hb=7fbb963a392a4a4803336355e414f8a20071b2f4;hp=71e5207b68c639496a5a37e2c48894baf432b698;hpb=711080b063b8828c731fa5f9206b11af4539caf6;p=flightgear.git diff --git a/Time/light.cxx b/Time/light.cxx index 71e5207b6..6cea78b11 100644 --- a/Time/light.cxx +++ b/Time/light.cxx @@ -164,7 +164,7 @@ void fgLIGHT::UpdateAdjFog( void ) { // first determine the difference between our view angle and local // direction to the sun - rotation = -(sun_rotation + FG_PI) - (FG_Psi - v->view_offset) ; + rotation = -(sun_rotation + FG_PI) - (f->get_Psi() - v->view_offset) ; while ( rotation < 0 ) { rotation += FG_2PI; } @@ -217,6 +217,9 @@ fgLIGHT::~fgLIGHT( void ) { // $Log$ +// Revision 1.22 1998/12/03 01:18:42 curt +// Converted fgFLIGHT to a class. +// // Revision 1.21 1998/11/23 21:49:09 curt // Borland portability tweaks. //