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

Comparing ray/src/rt/pmapmat.c (file contents):
Revision 2.22 by rschregle, Mon Jan 13 17:12:19 2020 UTC vs.
Revision 2.23 by rschregle, Wed Jan 20 19:44:15 2021 UTC

# Line 1578 | Line 1578 | static int brdfPhotonScatter (OBJREC *mat, RAY *rayIn)
1578              objerror(mat, WARNING, "illegal perturbation");
1579              VCOPY(rayOut.rdir, rayIn -> rdir);
1580           }
1581         else VCOPY(rayOut.rdir, rayIn -> rdir);
1581        }
1582 +      else VCOPY(rayOut.rdir, rayIn -> rdir);
1583     }
1584     else if (xi > (albedo -= prDiff)) {
1585        /* Diffuz reflekzion */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines