]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/light.hxx
Commented out a cout statement.
[flightgear.git] / src / Time / light.hxx
index 0466f033e8e8dbb0b8b8cd6ff95b3c644a15a746..b1dd41ab853912197fe253ab9a774ff059267b94 100644 (file)
@@ -39,7 +39,7 @@
 #endif
 
 #include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include <GL/gl.h>
 
 #include <plib/sg.h>                   // plib include
 
@@ -51,9 +51,9 @@
 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];