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