# | Line 288 | Line 288 | FVECT nrm; /* source surface normal */ | |
---|---|---|
288 | ||
289 | d = DOT(sp->aim, nrm); | |
290 | if (d > FTINY) /* center in front? */ | |
291 | < | return(0); |
291 | > | return(1); |
292 | /* else check horizon */ | |
293 | d1 = 1. - sp->siz/(2.*PI); | |
294 | < | return(1.-FTINY-d*d > d1*d1); |
294 | > | return(1.-FTINY-d*d < d1*d1); |
295 | } | |
296 | ||
297 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |