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

Comparing ray/src/common/color.h (file contents):
Revision 2.41 by greg, Mon Nov 27 21:00:14 2023 UTC vs.
Revision 2.42 by greg, Thu Dec 14 19:54:03 2023 UTC

# Line 116 | Line 116 | typedef float  COLORMAT[3][3]; /* color coordinate con
116   #define scolr_color(col,sclr)   scolr2color(col,sclr,NCSAMP,WLPART)
117  
118   #define  sopcolor(sc1,op,c2)    {SCOLOR _sct;\
119 <                                        setscolor(_sct,c2[RED],c2[GRN],c2[BLU]);\
119 >                                  setscolor(_sct,(c2)[RED],(c2)[GRN],(c2)[BLU]);\
120                                          sopscolor(sc1,op,_sct);}
121  
122   #define  saddcolor(sc1,c2)      sopcolor(sc1,+=,c2)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines