12 |
|
extern "C" { |
13 |
|
#endif |
14 |
|
|
15 |
– |
/* Preferred BSDF component: |
16 |
– |
none, transmission, reflection front (normal side), reflection back */ |
17 |
– |
typedef enum {RMPnone=-1, RMPtrans=0, RMPreflF, RMPreflB} RMPref; |
18 |
– |
|
15 |
|
/* RMATRIX flags (usually private): |
16 |
|
need to swap input, we should free memory */ |
17 |
|
#define RMF_SWAPIN 1 |
77 |
|
extern int rmx_load_data(RMATRIX *rm, FILE *fp); |
78 |
|
|
79 |
|
/* Load matrix from supported file type (NULL for stdin, '!' with command) */ |
80 |
< |
extern RMATRIX *rmx_load(const char *inspec, RMPref rmp); |
80 |
> |
extern RMATRIX *rmx_load(const char *inspec); |
81 |
|
|
82 |
|
/* Append header information associated with matrix data */ |
83 |
|
extern int rmx_addinfo(RMATRIX *rm, const char *info); |