# | Line 398 | Line 398 | addpicz( /* add a picture + depth-buffer */ | |
---|---|---|
398 | error(USER, errmsg); | |
399 | } | |
400 | for (i = scanlen(&prs); i--; ) { /* do each pixel */ | |
401 | + | if (zscn[i] <= 0.0) |
402 | + | continue; /* illegal depth */ |
403 | pix2loc(vl, &prs, i, j); | |
404 | aftd = viewray(ro, rd, &phd.vw, vl[0], vl[1]); | |
405 | if (aftd < -FTINY) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |