18 |
|
#define SAMPDENS 48 /* points per projected steradian */ |
19 |
|
#define NSAMPS 32 /* samples per point */ |
20 |
|
#define DFLMAT "illum_mat" /* material name */ |
21 |
+ |
#define DFLDAT "illum" /* data file name */ |
22 |
|
/* selection options */ |
23 |
|
#define S_NONE 0 /* select none */ |
24 |
|
#define S_ELEM 1 /* select specified element */ |
37 |
|
struct illum_args thisillum = { /* our illum and default values */ |
38 |
|
0, |
39 |
|
DFLMAT, |
40 |
< |
DFLMAT, |
40 |
> |
DFLDAT, |
41 |
|
0, |
42 |
|
VOIDID, |
43 |
|
SAMPDENS, |
258 |
|
break; |
259 |
|
if (!*++cp) { |
260 |
|
strcpy(thisillum.datafile,thisillum.matname); |
261 |
+ |
thisillum.dfnum = 0; |
262 |
|
thisillum.flags &= ~IL_DATCLB; |
263 |
|
continue; |
264 |
|
} |