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.4 by greg, Fri Apr 8 18:13:48 2011 UTC vs.
Revision 3.5 by greg, Sun Aug 21 22:38:12 2011 UTC

# Line 46 | Line 46 | typedef struct {
46   #define mBSDF_value(b,i,o)      (b)->bsdf[(o)*(b)->ninc + (i)]
47  
48   /* Holder for cumulative distribution (sum of BSDF * projSA) */
49 < typedef struct {
50 <        SD_CDIST_BASE;                  /* base fields; must come first */
49 > typedef struct SDMatCDst_s {
50 >        SD_CDIST_BASE(SDMatCDst_s);     /* base fields; must come first */
51          int             indx;           /* incident angle index */
52          void            *ob_priv;       /* private data for generator */
53          b_vecf          *ob_vec;        /* outbound vector generator */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines