| # | Line 137 | Line 137 | resample: | |
|---|---|---|
| 137 | if (ar.rt*ap->d < 1.0) /* new/closer distance? */ | |
| 138 | ap->d = 1.0/ar.rt; | |
| 139 | if (!n) { /* record first vertex & value */ | |
| 140 | < | if (ar.rt > 10.0*thescene.cusize) |
| 141 | < | ar.rt = 10.0*thescene.cusize; |
| 140 | > | if (ar.rt > 10.0*thescene.cusize + 1000.) |
| 141 | > | ar.rt = 10.0*thescene.cusize + 1000.; |
| 142 | VSUM(ap->p, ar.rorg, ar.rdir, ar.rt); | |
| 143 | copycolor(ap->v, ar.rcol); | |
| 144 | } else { /* else update recorded value */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |