--- ray/src/common/radogl.h 1998/06/09 11:18:36 3.1 +++ ray/src/common/radogl.h 1998/10/21 17:48:06 3.3 @@ -7,11 +7,11 @@ */ #include "standard.h" +#include #include "color.h" #include "object.h" #include "otypes.h" #include "lookup.h" -#include #define MAXLIGHTS 8 /* number of OGL light sources */ @@ -37,6 +37,7 @@ typedef struct { extern double expval; /* global exposure value */ extern COLOR ambval; /* global ambient value */ +extern int glightid[MAXLIGHTS]; /* OpenGL GL_LIGHTi values */ extern int dolights; /* are we outputting light sources? */ extern int domats; /* are we doing materials? */