25 |
|
|
26 |
|
#include "fvect.h" |
27 |
|
#include "ccolor.h" |
28 |
+ |
#include "platform.h" |
29 |
|
|
30 |
|
#ifdef __cplusplus |
31 |
|
extern "C" { |
32 |
|
#endif |
33 |
|
|
33 |
– |
#ifdef _WIN32 |
34 |
– |
#define strcasecmp stricmp |
35 |
– |
#endif |
36 |
– |
|
34 |
|
#define SDnameLn 128 /* maximum BSDF name length */ |
35 |
|
#define SDmaxCh 3 /* maximum # spectral channels */ |
36 |
|
|
123 |
|
char matn[SDnameLn]; /* material name */ |
124 |
|
char makr[SDnameLn]; /* manufacturer */ |
125 |
|
char *mgf; /* geometric description (if any) */ |
126 |
< |
float dim[3]; /* width, height, thickness (meters) */ |
126 |
> |
double dim[3]; /* width, height, thickness (meters) */ |
127 |
|
SDValue rLambFront; /* diffuse front reflectance */ |
128 |
|
SDValue rLambBack; /* diffuse rear reflectance */ |
129 |
|
SDValue tLamb; /* diffuse transmission */ |