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

Comparing ray/src/common/ccyrgb.c (file contents):
Revision 3.1 by greg, Fri Feb 18 00:40:25 2011 UTC vs.
Revision 3.2 by greg, Tue Jun 28 21:11:04 2011 UTC

# Line 38 | Line 38 | rgb2ccy(COLOR cin, C_COLOR *cout)
38          *cout = c_dfcolor;
39          df = xyz[CIEX] + xyz[CIEY] + xyz[CIEZ];
40          if (df <= .0)
41 <                return;
41 >                return(.0);
42          df = 1./df;
43          cout->cx = xyz[CIEX]*df;
44          cout->cy = xyz[CIEZ]*df;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines