--- ray/src/common/bsdf_t.h 2012/09/02 15:33:15 3.10 +++ ray/src/common/bsdf_t.h 2015/04/05 01:32:01 3.12 @@ -1,4 +1,4 @@ -/* RCSid $Id: bsdf_t.h,v 3.10 2012/09/02 15:33:15 greg Exp $ */ +/* RCSid $Id: bsdf_t.h,v 3.12 2015/04/05 01:32:01 greg Exp $ */ /* * bsdf_t.h * @@ -36,8 +36,8 @@ typedef struct SDNode_s { /* Variable-resolution BSDF holder */ typedef struct { - int sidef; /* transmitted component? */ - SDNode *st; /* BSDF tree */ + int sidef; /* which component */ + SDNode *stc[3]; /* BSDF (Y,u,v) trees */ } SDTre; /* Holder for cumulative distribution (sum of BSDF * projSA) */ @@ -52,7 +52,7 @@ typedef struct SDTreCDst_s { struct { unsigned hndx; /* hilbert index */ unsigned cuml; /* cumulative value */ - } carr[1]; /* cumulative array (extends struct) */ + } carr[1]; /* cumulative array (extends struct) */ } SDTreCDst; #ifdef _EZXML_H