# | Line 373 | Line 373 | vstestvis( /* pretest source visibility */ | |
---|---|---|
373 | if (!srcray(&sr, NULL, &si) || sr.rsrc != sn) | |
374 | continue; /* can't get there from here */ | |
375 | } | |
376 | < | sr.revf = srcvalue; |
377 | < | rayvalue(&sr); /* check sample validity */ |
376 | > | srcvalue(&sr); /* check sample validity */ |
377 | if (bright(sr.rcol) <= FTINY) | |
378 | continue; | |
379 | nok++; /* got sample; check obstructions */ | |
380 | rayclear(&sr); | |
382 | – | sr.revf = raytrace; |
381 | rayvalue(&sr); | |
382 | if (bright(sr.rcol) > FTINY) | |
383 | nhit++; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |