40 |
|
} SDTre; |
41 |
|
|
42 |
|
/* Holder for cumulative distribution (sum of BSDF * projSA) */ |
43 |
< |
typedef struct { |
44 |
< |
SD_CDIST_BASE; /* base fields; must come first */ |
43 |
> |
typedef struct SDTreCDst_s { |
44 |
> |
/* base fields; must come first */ |
45 |
> |
SD_CDIST_BASE(SDTreCDst_s); |
46 |
|
double clim[2][2]; /* input coordinate limits */ |
47 |
|
double max_psa; /* maximum projected solid angle */ |
48 |
< |
int sidef; /* which side(s) to use */ |
48 |
> |
short sidef; /* which side(s) to use */ |
49 |
> |
short isodist; /* isotropic distribution? */ |
50 |
|
int calen; /* cumulative array length */ |
51 |
|
struct { |
52 |
|
unsigned hndx; /* hilbert index */ |