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

Comparing ray/src/common/bsdf_t.c (file contents):
Revision 3.29 by greg, Thu Jul 4 01:24:17 2013 UTC vs.
Revision 3.30 by greg, Thu Jul 4 15:14:45 2013 UTC

# Line 748 | Line 748 | SDqueryTreProjSA(double *psa, const FVECT v1, const RR
748                          psa[1] = myPSA[1];
749                  /* fall through */
750          case SDqueryMin:
751 <                if (myPSA[0] < psa[0])
751 >                if ((myPSA[0] > 0) & (myPSA[0] < psa[0]))
752                          psa[0] = myPSA[0];
753                  break;
754          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines