# | Line 417 | Line 417 | finish_receiver(void) | |
---|---|---|
417 | } | |
418 | /* determine sample type/bin */ | |
419 | if (tolower(curparams.hemis[0]) == 'u' | curparams.hemis[0] == '1') { | |
420 | < | binv = "0"; /* uniform sampling -- one bin */ |
420 | > | sprintf(sbuf, "if(-Dx*%g-Dy*%g-Dz*%g,0,-1)", |
421 | > | curparams.nrm[0], curparams.nrm[1], curparams.nrm[2]); |
422 | > | binv = savqstr(sbuf); |
423 | > | nbins = "1"; /* uniform sampling -- one bin */ |
424 | uniform = 1; | |
425 | } else if (tolower(curparams.hemis[0]) == 's' && | |
426 | tolower(curparams.hemis[1]) == 'c') { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |