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

Comparing ray/src/common/bsdf_t.h (file contents):
Revision 3.10 by greg, Sun Sep 2 15:33:15 2012 UTC vs.
Revision 3.12 by greg, Sun Apr 5 01:32:01 2015 UTC

# Line 36 | Line 36 | typedef struct SDNode_s {
36  
37   /* Variable-resolution BSDF holder */
38   typedef struct {
39 <        int     sidef;          /* transmitted component? */
40 <        SDNode  *st;            /* BSDF tree */
39 >        int     sidef;          /* which component */
40 >        SDNode  *stc[3];        /* BSDF (Y,u,v) trees */
41   } SDTre;
42  
43   /* Holder for cumulative distribution (sum of BSDF * projSA) */
# Line 52 | Line 52 | typedef struct SDTreCDst_s {
52          struct {
53                  unsigned        hndx;   /* hilbert index */
54                  unsigned        cuml;   /* cumulative value */
55 <        }               carr[1];        /* cumulative array (extends struct) */
55 >        }       carr[1];        /* cumulative array (extends struct) */
56   } SDTreCDst;    
57  
58   #ifdef _EZXML_H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines