306 |
|
} |
307 |
|
if (!*++cp || isspace(*cp)) |
308 |
|
continue; |
309 |
< |
if (isintd(++cp, " \t\n\r")) { |
309 |
> |
if (isintd(cp, " \t\n\r")) { |
310 |
|
thisillum.sampdens = atoi(cp); |
311 |
|
} else { |
312 |
|
atos(buf, sizeof(buf), cp); |
383 |
|
break; |
384 |
|
case 'z': |
385 |
|
case 'Z': |
386 |
< |
thisillum.udir = negax ? UDxneg : UDxpos; |
386 |
> |
thisillum.udir = negax ? UDzneg : UDzpos; |
387 |
|
break; |
388 |
|
default: |
389 |
|
thisillum.udir = UDunknown; |
444 |
|
printf("l+\t\t\t\t# light type on\n"); |
445 |
|
else |
446 |
|
printf("l-\t\t\t\t# light type off\n"); |
447 |
< |
printf("d=%d\t\t\t\t# density of points\n", thisillum.sampdens); |
448 |
< |
printf("s=%d\t\t\t\t# samples per point\n", thisillum.nsamps); |
447 |
> |
printf("d=%d\t\t\t\t# density of directions\n", thisillum.sampdens); |
448 |
> |
printf("s=%d\t\t\t\t# samples per direction\n", thisillum.nsamps); |
449 |
|
printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt); |
450 |
|
switch (thisillum.udir) { |
451 |
|
case UDzneg: |