25 |
|
struct BSDF_data { |
26 |
|
int ninc; /* number of incoming directions */ |
27 |
|
int nout; /* number of outgoing directions */ |
28 |
+ |
float dim[3]; /* width, height, thickness (meters) */ |
29 |
+ |
char *mgf; /* geometric description (if any) */ |
30 |
|
void *ib_priv; /* input basis private data */ |
31 |
|
b_vecf *ib_vec; /* get input vector from index */ |
32 |
|
b_ndxf *ib_ndx; /* get input index from vector */ |
52 |
|
double rv, MAT4 xm); |
53 |
|
extern int r_BSDF_outvec(FVECT v, struct BSDF_data *b, int o, |
54 |
|
double rv, MAT4 xm); |
55 |
< |
extern int getBSDF_xfm(MAT4 xm, FVECT nrm, UpDir ud); |
55 |
> |
extern int getBSDF_xfm(MAT4 xm, FVECT nrm, UpDir ud, char *xfbuf); |
56 |
|
|
57 |
|
#endif /* ! _RAD_BSDF_H_ */ |