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

Comparing ray/src/common/fvect.c (file contents):
Revision 2.8 by greg, Tue Sep 16 06:30:20 2003 UTC vs.
Revision 2.9 by greg, Wed Mar 23 01:54:55 2005 UTC

# Line 116 | Line 116 | register FVECT  v
116          
117          d = DOT(v, v);
118          
119 <        if (d <= 0.0)
119 >        if (d <= FTINY*FTINY)
120                  return(0.0);
121          
122          if (d <= 1.0+FTINY && d >= 1.0-FTINY)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines