# | Line 386 | Line 386 | register char *s; | |
---|---|---|
386 | extern double shadcert; | |
387 | extern COLOR ambval; | |
388 | extern double ambacc; | |
389 | – | extern double minarad; |
389 | extern int ambres; | |
390 | extern int ambdiv; | |
391 | extern int ambssamp; | |
# | Line 464 | Line 463 | register char *s; | |
463 | break; | |
464 | case 'r': | |
465 | if (getparam(s+2, "ambient resolution", 'i', &ambres)) | |
466 | < | minarad = ambres > 0 ? |
468 | < | thescene.cusize/ambres : 0.0; |
466 | > | setambres(ambres); |
467 | break; | |
468 | default: | |
469 | goto badparam; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |