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

Comparing ray/src/common/color.c (file contents):
Revision 1.3 by greg, Thu May 11 21:22:38 1989 UTC vs.
Revision 1.4 by greg, Thu May 11 22:15:57 1989 UTC

# Line 289 | Line 289 | double  r, g, b;
289          d = r > g ? r : g;
290          if (b > d) d = b;
291  
292 <        if (d <= 0.0) {
292 >        if (d <= 1e-32) {
293                  clr[RED] = clr[GRN] = clr[BLU] = 0;
294                  clr[EXP] = 0;
295                  return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines