ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rfluxmtx.c
(Generate patch)

Comparing ray/src/util/rfluxmtx.c (file contents):
Revision 2.46 by greg, Mon Oct 1 15:51:48 2018 UTC vs.
Revision 2.47 by greg, Sun Mar 3 17:01:13 2019 UTC

# Line 661 | Line 661 | sample_origin(PARAMS *p, FVECT orig, const FVECT rdir,
661                  projsa[i] = -DOT(sp->snrm, rdir) * sp->area;
662                  tarea += projsa[i] *= (double)(projsa[i] > FTINY);
663          }
664 <        if (tarea <= FTINY) {           /* wrong side of sender? */
664 >        if (tarea < 0) {                /* wrong side of sender? */
665                  fputs(progname, stderr);
666                  fputs(": internal - sample behind all sender elements!\n",
667                                  stderr);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines