# | 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, |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |