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.13 by greg, Fri Jan 5 21:00:24 2018 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
# Line 61 | Line 61 | extern SDError         SDloadTre(SDData *sd, ezxml_t wtl);
61   #endif
62  
63   /* Our matrix handling routines */
64 < extern SDFunc   SDhandleTre;
64 > extern const SDFunc     SDhandleTre;
65  
66   #ifdef __cplusplus
67   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines