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

Comparing ray/src/common/bsdf_m.h (file contents):
Revision 3.7 by greg, Thu Apr 2 16:40:32 2015 UTC vs.
Revision 3.9 by greg, Fri Jan 5 21:00:24 2018 UTC

# Line 45 | Line 45 | typedef struct {
45   #define mBSDF_outndx(b,v)       (*(b)->ob_ndx)(v,(b)->ob_priv)
46   #define mBSDF_outohm(b,o)       (*(b)->ob_ohm)(o,(b)->ob_priv)
47   #define mBSDF_value(b,i,o)      (b)->bsdf[(o)*(b)->ninc + (i)]
48 + #define mBSDF_chroma(b,i,o)     (b)->chroma[(o)*(b)->ninc + (i)]
49  
50   /* Holder for cumulative distribution (sum of BSDF * projSA) */
51   typedef struct SDMatCDst_s {
# Line 62 | Line 63 | extern SDError         SDloadMtx(SDData *sd, ezxml_t wtl);
63   #endif
64  
65   /* Our matrix handling routines */
66 < extern SDFunc           SDhandleMtx;
66 > extern const SDFunc     SDhandleMtx;
67  
68   /******** Klems basis declarations for more intimate access ********/
69  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines