X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTime%2Flight.hxx;h=b1dd41ab853912197fe253ab9a774ff059267b94;hb=a4e81f4ff075e6a3c0c2ea1b5a29c0bcdfdbc671;hp=ac7449b3936a9fa6e4946de22d45383d093877e8;hpb=485230b443de22c97d5c4ddfda98598fb52ce98a;p=flightgear.git diff --git a/src/Time/light.hxx b/src/Time/light.hxx index ac7449b39..b1dd41ab8 100644 --- a/src/Time/light.hxx +++ b/src/Time/light.hxx @@ -39,21 +39,21 @@ #endif #include -#include +#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];