27 |
|
|
28 |
|
extern ANGLE glarang[]; /* glare calculation angles */ |
29 |
|
extern int nglarangs; |
30 |
+ |
extern double maxtheta; /* maximum glare angle (in radians) */ |
31 |
|
extern int hsize; /* horizontal size */ |
32 |
|
extern int hlim; /* horizontal limit of central view */ |
33 |
|
|
34 |
|
#define nglardirs (2*nglarangs+1) |
34 |
– |
#define maxtheta ((PI/180.)*glarang[nglarangs-1]) |
35 |
|
#define vsize SAMPDENS |
36 |
< |
#define h_theta(h) ((double)(h)/(double)SAMPDENS) |
36 |
> |
#define h_theta(h) ((double)(h)/-(double)SAMPDENS) |
37 |
|
|
38 |
|
extern struct illum { |
39 |
|
float theta; /* glare direction */ |