]> git.mxchange.org Git - flightgear.git/blobdiff - src/Time/light.hxx
Moved some of the low level scene graph construction code over to simgear.
[flightgear.git] / src / Time / light.hxx
index fd760a972fb754368e5144f7b6623f6fc28f271b..98a5f7dc31bfbb30012b529732e0d4760d7c66ad 100644 (file)
@@ -38,8 +38,7 @@
 #  include <windows.h>
 #endif
 
-#include <GL/glut.h>
-#include <simgear/xgl/xgl.h>
+#include GLUT_H
 
 #include <plib/sg.h>                   // plib include
 
@@ -53,6 +52,7 @@ class fgLIGHT {
     // Lighting look up tables (based on sun angle with local horizon)
     SGInterpTable *ambient_tbl;
     SGInterpTable *diffuse_tbl;
+    SGInterpTable *specular_tbl;
     SGInterpTable *sky_tbl;
 
 public:
@@ -118,6 +118,9 @@ public:
     // diffuse component
     GLfloat scene_diffuse[4];
 
+    // diffuse component
+    GLfloat scene_specular[4];
+
     // fog color
     GLfloat fog_color[4];