| # | Line 34 | Line 34 | register VIEW *v; | |
|---|---|---|
| 34 | if (v->vaft < -FTINY || (v->vaft > FTINY && v->vaft <= v->vfore)) | |
| 35 | return("illegal fore/aft clipping plane"); | |
| 36 | ||
| 37 | + | if (v->vdist <= FTINY) |
| 38 | + | return("illegal view distance"); |
| 39 | v->vdist *= normalize(v->vdir); /* normalize direction */ | |
| 40 | if (v->vdist == 0.0) | |
| 41 | return("zero view direction"); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |