# | Line 102 | Line 102 | char *dp; | |
---|---|---|
102 | } else if (d < -FTINY) { /* plane -> */ | |
103 | if ((t /= d) > lbeg) | |
104 | lbeg = t; | |
105 | < | } else if (t < 0) /* outside */ |
106 | < | goto nextscan; |
105 | > | } else if (t < 0) { /* outside */ |
106 | > | lend = -1; |
107 | > | break; |
108 | > | } |
109 | } | |
110 | + | if (lbeg >= lend) |
111 | + | continue; |
112 | i = lend + .5; /* visit cells on this scan */ | |
113 | for (gc.i[0] = lbeg + .5; gc.i[0] < i; gc.i[0]++) | |
114 | n += (*vf)(&gc, dp); | |
111 | – | nextscan:; |
115 | } | |
116 | } | |
117 | return(n); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |