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.6 by greg, Sun Apr 24 19:39:21 2011 UTC vs.
Revision 3.7 by greg, Wed Apr 27 20:03:25 2011 UTC

# Line 29 | Line 29 | typedef struct SDNode_s {
29          } u;                    /* subtrees or values (extends struct) */
30   } SDNode;
31  
32 + #define SD_UFRONT       0x1     /* flag for BSDF uses front side */
33 + #define SD_UBACK        0x2     /* flag for BSDF uses back side */
34 + #define SD_XMIT         0x3     /* combine the two for transmission */
35 +
36   /* Variable-resolution BSDF holder */
37   typedef struct {
38 <        int     isxmit;         /* transmitted component? */
38 >        int     sidef;          /* transmitted component? */
39          SDNode  *st;            /* BSDF tree */
40   } SDTre;
41  
# Line 40 | Line 44 | typedef struct {
44          SD_CDIST_BASE;          /* base fields; must come first */
45          double  clim[2][2];     /* input coordinate limits */
46          double  max_psa;        /* maximum projected solid angle */
47 <        int     isxmit;         /* transmitted component? */
47 >        int     sidef;          /* which side(s) to use */
48          int     calen;          /* cumulative array length */
49          struct {
50                  unsigned        hndx;   /* hilbert index */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines