| # | Line 320 | Line 320 | int x, y; /* pixel position */ | |
|---|---|---|
| 320 | { | |
| 321 | static RAY thisray; /* our ray for this pixel */ | |
| 322 | ||
| 323 | < | viewray(thisray.rorg, thisray.rdir, &ourview, |
| 324 | < | (x+pixjitter())/hresolu, (y+pixjitter())/vresolu); |
| 323 | > | if (viewray(thisray.rorg, thisray.rdir, &ourview, |
| 324 | > | (x+pixjitter())/hresolu, (y+pixjitter())/vresolu) < 0) { |
| 325 | > | setcolor(col, 0.0, 0.0, 0.0); |
| 326 | > | return(0.0); |
| 327 | > | } |
| 328 | ||
| 329 | rayorigin(&thisray, NULL, PRIMARY, 1.0); | |
| 330 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |