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

Comparing ray/src/common/dircode.c (file contents):
Revision 2.1 by greg, Tue Mar 4 05:49:21 2003 UTC vs.
Revision 2.2 by greg, Tue Mar 4 19:02:47 2003 UTC

# Line 1 | Line 1
1   #ifndef lint
2 < static const char       RCSid[] = "$Id$";
2 > static const char RCSid[] = "$Id$";
3   #endif
4   /*
5   * Compute 4-byte direction code (assume this fits into int)
# Line 42 | Line 42 | FVECT  dv;
42                  dc |= F2Z | cd[2] << F2SFT;
43          else
44                  dc |= cm << F2SFT;
45 +        if (!dc)        /* don't generate 0 code */
46 +                dc = F1X;
47          return(dc);
48   }
49  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines