| # | Line 244 | Line 244 | int hres, vres; | |
|---|---|---|
| 244 | /* intersect sample rays with section */ | |
| 245 | for (v = svr; v--; ) | |
| 246 | for (h = shr; h--; ) { | |
| 247 | < | if (viewray(rorg, rdir, vw, (v+frandom())/svr, |
| 248 | < | (h+frandom())/shr) < -FTINY) |
| 247 | > | if (viewray(rorg, rdir, vw, (h+frandom())/shr, |
| 248 | > | (v+frandom())/svr) < -FTINY) |
| 249 | continue; | |
| 250 | if (rad > FTINY) { | |
| 251 | rorg[0] += (1.-2.*frandom())*rad; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |