| # | Line 521 | Line 521 | srcscatter( /* compute source scattering into ray */ | |
|---|---|---|
| 521 | COLOR cvext; | |
| 522 | int i, j; | |
| 523 | ||
| 524 | < | if (r->rot >= FHUGE || r->gecc >= 1.-FTINY) |
| 524 | > | if (r->rot >= FHUGE*.99 || r->gecc >= 1.-FTINY) |
| 525 | return; /* this can never work */ | |
| 526 | /* PMAP: do unconditional inscattering for volume photons */ | |
| 527 | if (!volumePhotonMapping && (r->slights == NULL || r->slights[0] == 0)) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |