7 |
|
*/ |
8 |
|
|
9 |
|
#include "standard.h" |
10 |
+ |
#include <GL/glu.h> |
11 |
|
#include "color.h" |
12 |
|
#include "object.h" |
13 |
|
#include "otypes.h" |
14 |
|
#include "lookup.h" |
14 |
– |
#include <GL/glu.h> |
15 |
|
|
16 |
|
#define MAXLIGHTS 8 /* number of OGL light sources */ |
17 |
|
|
37 |
|
|
38 |
|
extern double expval; /* global exposure value */ |
39 |
|
extern COLOR ambval; /* global ambient value */ |
40 |
+ |
extern int glightid[MAXLIGHTS]; /* OpenGL GL_LIGHTi values */ |
41 |
|
extern int dolights; /* are we outputting light sources? */ |
42 |
|
extern int domats; /* are we doing materials? */ |
43 |
|
|