# | Line 591 | Line 591 | register struct ODview *vp; | |
---|---|---|
591 | n = rise + run; | |
592 | while (n--) /* run out arm, checking depth */ | |
593 | if (run2 > rise2) { | |
594 | – | if (depthchange(vp, x, y, x+xstep, y)) |
595 | – | break; |
594 | x += xstep; | |
595 | rise2 += rise; | |
596 | < | } else { |
599 | < | if (depthchange(vp, x, y, x, y+ystep)) |
596 | > | if (depthchange(vp, x-xstep, y, x, y)) |
597 | break; | |
598 | + | } else { |
599 | y += ystep; | |
600 | run2 += run; | |
601 | + | if (depthchange(vp, x, y-ystep, x, y)) |
602 | + | break; |
603 | } | |
604 | if (n < 0) /* found something? */ | |
605 | return; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |