X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=Time%2Flight.cxx;h=c47f652cd4562b6a8f91c86dbb67a37b994ecf65;hb=b8d59efa71819db359295b2343d8632cf8180dcc;hp=940a5960d7cc8b7e9be44af640dd012affe7ab50;hpb=bef268a4cd1638d3e2d057547f8343f723da2b0c;p=flightgear.git diff --git a/Time/light.cxx b/Time/light.cxx index 940a5960d..c47f652cd 100644 --- a/Time/light.cxx +++ b/Time/light.cxx @@ -95,7 +95,7 @@ void fgLIGHT::Init( void ) { // update lighting parameters based on current sun position void fgLIGHT::Update( void ) { - FGState *f; + FGInterface *f; fgTIME *t; // if the 4th field is 0.0, this specifies a direction ... GLfloat white[4] = { 1.0, 1.0, 1.0, 1.0 }; @@ -154,7 +154,7 @@ void fgLIGHT::Update( void ) { // calculate fog color adjusted for sunrise/sunset effects void fgLIGHT::UpdateAdjFog( void ) { - FGState *f; + FGInterface *f; double sun_angle_deg, rotation, param1[3], param2[3]; f = current_aircraft.fdm_state; @@ -220,6 +220,9 @@ fgLIGHT::~fgLIGHT( void ) { // $Log$ +// Revision 1.26 1999/02/05 21:29:20 curt +// Modifications to incorporate Jon S. Berndts flight model code. +// // Revision 1.25 1999/01/07 20:25:36 curt // Portability changes and updates from Bernie Bright. //