50 |
|
float lcos, lsin; /* cosine and sine to left view */ |
51 |
|
float rcos, rsin; /* cosine and sine to right view */ |
52 |
|
double sum; /* sum of indirect luminances */ |
53 |
< |
int n; /* number of values in sum */ |
53 |
> |
double n; /* number of values in sum */ |
54 |
|
} *indirect; /* array of indirect illuminances */ |
55 |
|
|
56 |
|
struct srcspan { |
69 |
|
} *donelist; /* finished sources */ |
70 |
|
|
71 |
|
extern double getviewpix(); |
72 |
+ |
|
73 |
+ |
extern long npixinvw; /* number of samples in view */ |
74 |
+ |
extern long npixmiss; /* number of samples missing */ |