19 |
|
extern double specthresh; /* specular sampling threshold */ |
20 |
|
extern double specjitter; /* specular sampling jitter */ |
21 |
|
|
22 |
< |
static agaussamp(); |
22 |
> |
static agaussamp(), getacoords(); |
23 |
|
|
24 |
|
/* |
25 |
|
* This routine implements the anisotropic Gaussian |
185 |
|
register int i; |
186 |
|
/* easy shadow test */ |
187 |
|
if (r->crtype & SHADOW) |
188 |
< |
return; |
188 |
> |
return(1); |
189 |
|
|
190 |
|
if (m->oargs.nfargs != (m->otype == MAT_TRANS2 ? 8 : 6)) |
191 |
|
objerror(m, USER, "bad number of real arguments"); |
287 |
|
} |
288 |
|
/* add direct component */ |
289 |
|
direct(r, diraniso, &nd); |
290 |
+ |
|
291 |
+ |
return(1); |
292 |
|
} |
293 |
|
|
294 |
|
|