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 2.32 by greg, Thu Dec 7 23:16:58 2023 UTC vs.
Revision 2.33 by greg, Wed Jan 17 16:06:56 2024 UTC

# Line 147 | Line 147 | scolor2colr(                   /* assign RGBE from spectral color */
147  
148  
149   void
150 + scolr2color(                    /* assign RGB from common exponent */
151 +        COLOR col,
152 +        SCOLR sclr,
153 +        int ncs,
154 +        const float wlpt[4]
155 + )
156 + {
157 +        SCOLOR  scol;
158 +
159 +        scolr2scolor(scol, sclr, ncs);
160 +        scolor2color(col, scol, ncs, wlpt);
161 + }
162 +
163 +
164 + void
165   scolor2scolr(                   /* float spectrum to common exponent */
166          SCOLR sclr,
167          SCOLOR scol,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines