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.27 by greg, Wed Nov 15 18:02:52 2023 UTC vs.
Revision 2.28 by greg, Fri Nov 17 20:02:07 2023 UTC

# Line 262 | Line 262 | convertscolor(                 /* spectrum conversion, zero-fill end
262                  di = (wl - dwl0)*rdstp;
263          } else {
264                  wl = dwl0;
265 <                si = (wl - swl0)/sstp;
265 >                si = (wl - (sdir>0 ? swl0 : swl1))/sstp;
266                  ssi = sdir > 0 ? si : snc-1 - si;
267                  di = 0;
268          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines