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) */ |
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 |
61 |
|
#endif |
62 |
|
|
63 |
|
/* Our matrix handling routines */ |
64 |
< |
extern SDFunc SDhandleTre; |
64 |
> |
extern const SDFunc SDhandleTre; |
65 |
|
|
66 |
|
#ifdef __cplusplus |
67 |
|
} |