96 |
|
FILE *dfp; |
97 |
|
int i; |
98 |
|
|
99 |
– |
average(il, da, n*m); |
99 |
|
if (il->flags & IL_COLDST) { |
100 |
|
printf("\n%s %s %s%s", VOIDID, ofun[PAT_CDATA].funame, |
101 |
|
il->matname, DSTSUF); |
134 |
|
FILE *dfp; |
135 |
|
int i; |
136 |
|
|
138 |
– |
average(il, da, n*m); |
137 |
|
if (il->flags & IL_COLDST) { |
138 |
|
printf("\n%s %s %s%s", VOIDID, ofun[PAT_CDATA].funame, |
139 |
|
il->matname, DSTSUF); |
167 |
|
{ |
168 |
|
double cout[3]; |
169 |
|
|
170 |
< |
printf("\n%s%s %s %s", il->matname, DSTSUF, |
171 |
< |
ofun[il->flags&IL_LIGHT?MAT_LIGHT:MAT_ILLUM].funame, |
170 |
> |
if (il->sampdens <= 0) |
171 |
> |
printf("\n%s ", VOIDID); |
172 |
> |
else |
173 |
> |
printf("\n%s%s ", il->matname, DSTSUF); |
174 |
> |
printf("%s %s", ofun[il->flags&IL_LIGHT?MAT_LIGHT:MAT_ILLUM].funame, |
175 |
|
il->matname); |
176 |
|
if (il->flags & IL_LIGHT || !strcmp(il->altmat,VOIDID)) |
177 |
|
printf("\n0"); |