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 1.1 by greg, Thu Feb 2 10:34:32 1989 UTC vs.
Revision 1.2 by greg, Sun May 7 21:41:40 1989 UTC

# Line 94 | Line 94 | register FVECT  v;
94          if (len <= FTINY*FTINY)
95                  return(0.0);
96          
97 +        /****** problematic
98          if (len >= (1.0-FTINY)*(1.0-FTINY) &&
99                          len <= (1.0+FTINY)*(1.0+FTINY))
100                  return(1.0);
101 +        ******/
102  
103          len = sqrt(len);
104          v[0] /= len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines