ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/ximage.c
(Generate patch)

Comparing ray/src/px/ximage.c (file contents):
Revision 1.27 by greg, Wed Nov 7 13:10:39 1990 UTC vs.
Revision 1.28 by greg, Mon Mar 18 09:35:04 1991 UTC

# Line 373 | Line 373 | XKeyEvent  *ekey;
373                          sprintf(buf, "%.3f", intens(cval)/exposure);
374                          break;
375                  case 'l':                               /* luminance */
376 <                        sprintf(buf, "%.0fn", bright(cval)*683.0/exposure);
376 >                        sprintf(buf, "%.0fn", luminance(cval)/exposure);
377                          break;
378                  case 'c':                               /* color */
379                          comp = pow(2.0, (double)scale);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines