| # | Line 457 | Line 457 | drawsources( | |
|---|---|---|
| 457 | /* modify pixel */ | |
| 458 | w = poly_area(ppoly, npv) * hres * vres; | |
| 459 | if (zbf[y-y0] != NULL && | |
| 460 | < | sr.rt < 0.99*zbf[y-y0][x-x0]) { |
| 461 | < | zbf[y-y0][x-x0] = sr.rt; |
| 460 | > | sr.rxt < 0.99*zbf[y-y0][x-x0]) { |
| 461 | > | zbf[y-y0][x-x0] = sr.rxt; |
| 462 | } else if (!bigdiff(sr.rcol, pic[y-y0][x-x0], | |
| 463 | 0.01)) { /* source sample */ | |
| 464 | scalecolor(pic[y-y0][x-x0], w); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |