ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/image.c
(Generate patch)

Comparing ray/src/common/image.c (file contents):
Revision 2.30 by greg, Mon Feb 7 20:13:55 2005 UTC vs.
Revision 2.31 by greg, Fri Feb 18 17:42:14 2005 UTC

# 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");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines