14 |
|
#include <math.h> |
15 |
|
#include "rtio.h" |
16 |
|
#include "platform.h" |
17 |
+ |
#include "paths.h" |
18 |
|
#include "bsdfrep.h" |
18 |
– |
/* global argv[0] */ |
19 |
– |
char *progname; |
19 |
|
|
20 |
|
typedef struct { |
21 |
|
const char *fname; /* input file path */ |
233 |
|
const char *symmetry = "0"; |
234 |
|
int ninpfiles, totinc; |
235 |
|
int a, i; |
236 |
< |
|
237 |
< |
progname = argv[0]; /* get options */ |
236 |
> |
/* set global progname */ |
237 |
> |
fixargv0(argv[0]); |
238 |
> |
/* get options */ |
239 |
|
for (a = 1; a < argc && argv[a][0] == '-'; a++) |
240 |
|
switch (argv[a][1]) { |
241 |
|
case 't': |