| 18 |
|
/* Data types for file loading */ |
| 19 |
|
enum {DTfromHeader=0, DTrgbe, DTxyze, DTfloat, DTascii, DTdouble, DTend}; |
| 20 |
|
|
| 21 |
+ |
extern const char stdin_name[]; |
| 22 |
|
extern const char *cm_fmt_id[]; |
| 23 |
|
extern const int cm_elem_size[]; |
| 24 |
|
|
| 59 |
|
extern int cm_write(const CMATRIX *cm, int dtype, FILE *fp); |
| 60 |
|
|
| 61 |
|
/* Load and convert a matrix BTDF from the given XML file */ |
| 62 |
< |
extern CMATRIX *cm_loadBTDF(char *fname); |
| 62 |
> |
extern CMATRIX *cm_loadBTDF(const char *fname); |
| 63 |
> |
|
| 64 |
> |
/* Load and convert a matrix BRDF from the given XML file */ |
| 65 |
> |
extern CMATRIX *cm_loadBRDF(const char *fname, int backside); |
| 66 |
|
|
| 67 |
|
#ifdef __cplusplus |
| 68 |
|
} |