# | Line 384 | Line 384 | register char *s; | |
---|---|---|
384 | extern int ambssamp; | |
385 | extern int ambounce; | |
386 | extern int directinvis; | |
387 | + | extern double srcsizerat; |
388 | extern int do_irrad; | |
389 | char buf[128]; | |
390 | ||
# | Line 420 | Line 421 | register char *s; | |
421 | case 'i': /* invisibility */ | |
422 | getparam(s+2, "direct invisibility", | |
423 | 'b', &directinvis); | |
424 | + | break; |
425 | + | case 's': /* sampling */ |
426 | + | getparam(s+2, "direct sampling", 'r', &srcsizerat); |
427 | break; | |
428 | default: | |
429 | goto badparam; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |