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

Comparing ray/src/common/tmprivat.h (file contents):
Revision 3.2 by greg, Wed Apr 16 20:28:09 1997 UTC vs.
Revision 3.3 by greg, Thu Apr 17 19:09:33 1997 UTC

# Line 37 | Line 37
37   #define MINLUM          (1.125352e-7)           /* tmLuminance(MINBRT) */
38  
39   #define LMESLOWER       (5.62e-3)               /* lower mesopic limit */
40 #define BMESLOWER       (-663)                  /* encoded LMESLOWER */
40   #define LMESUPPER       (5.62)                  /* upper mesopic limit */
41 + #if     (TM_BRTSCALE==128)
42 + #define BMESLOWER       (-663)                  /* encoded LMESLOWER */
43   #define BMESUPPER       (221)                   /* encoded LMESUPPER */
44 + #else
45 + #define BMESLOWER       ((int)(-5.18*TM_BRTSCALE-.5))
46 + #define BMESUPPER       ((int)(1.73*TM_BRTSCALE+.5))
47 + #endif
48  
49   #ifndef int4
50   #define int4            int                     /* assume 32-bit integers */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines