X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTime%2Flight.hxx;h=b1dd41ab853912197fe253ab9a774ff059267b94;hb=e4d014a959bab91902479c966e4a87dc6b6f078a;hp=35cda2efeee43cc6f588f34f397d1498925a0f79;hpb=ad7718ff0299fc4bfcc5c9bd2c12947bee8c481e;p=flightgear.git diff --git a/src/Time/light.hxx b/src/Time/light.hxx index 35cda2efe..b1dd41ab8 100644 --- a/src/Time/light.hxx +++ b/src/Time/light.hxx @@ -39,21 +39,21 @@ #endif #include -#include +#include -#include // plib include +#include // plib include -#include -#include +#include +#include // Define a structure containing the global lighting parameters class fgLIGHT { // Lighting look up tables (based on sun angle with local horizon) - fgINTERPTABLE *ambient_tbl; - fgINTERPTABLE *diffuse_tbl; - fgINTERPTABLE *sky_tbl; + SGInterpTable *ambient_tbl; + SGInterpTable *diffuse_tbl; + SGInterpTable *sky_tbl; public: @@ -113,10 +113,10 @@ public: // Derived lighting values // ambient component - GLfloat scene_ambient[3]; + GLfloat scene_ambient[4]; // diffuse component - GLfloat scene_diffuse[3]; + GLfloat scene_diffuse[4]; // fog color GLfloat fog_color[4]; @@ -149,5 +149,3 @@ extern fgLIGHT cur_light_params; #endif // _LIGHT_HXX - -