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

Comparing ray/src/common/ccolor.h (file contents):
Revision 3.2 by greg, Thu May 17 05:47:59 2012 UTC vs.
Revision 3.3 by greg, Thu May 17 17:10:23 2012 UTC

# Line 47 | Line 47 | typedef struct {
47  
48   extern C_COLOR          c_dfcolor;              /* default color */
49  
50 < extern void     c_ccvt(C_COLOR *, int);         /* fix color representation */
51 < extern int      c_isgrey(C_COLOR *);            /* check if color is grey */
50 >                                                /* assign arbitrary spectrum */
51 > extern double   c_sset(C_COLOR *clr, double wlmin, double wlmax,
52 >                                const float spec[], int nwl);
53 > extern void     c_ccvt(C_COLOR *clr, int fl);   /* fix color representation */
54 > extern int      c_isgrey(C_COLOR *clr);         /* check if color is grey */
55                                                  /* mix two colors */
56   extern void     c_cmix(C_COLOR *cres, double w1, C_COLOR *c1,
57                                  double w2, C_COLOR *c2);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines