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

Comparing ray/src/rt/ambcomp.c (file contents):
Revision 1.7 by greg, Thu Jun 13 12:00:29 1991 UTC vs.
Revision 1.8 by greg, Thu Jun 13 13:58:24 1991 UTC

# Line 86 | Line 86 | RAY  *r;
86          rayvalue(&ar);
87          ndims--;
88          addcolor(dp->v, ar.rcol);
89 <        if (ar.rt < FHUGE)
89 >        if (ar.rt > FTINY && ar.rt < FHUGE)
90                  dp->r += 1.0/ar.rt;
91                                          /* (re)initialize error */
92          if (dp->n++) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines