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.13 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.15 by rschregle, Tue Mar 20 19:55:33 2018 UTC

# Line 124 | Line 124 | void photonRay (const RAY *rayIn, RAY *rayOut,
124  
125        /* Propagate index of emitting light source */
126        rayOut -> rsrc = rayIn -> rsrc;
127 +      
128 +      /* Update maximum photon path distance */
129 +      rayOut -> rmax = rayIn -> rmax - rayIn -> rot;
130     }
131   }
132  
# Line 1664 | Line 1667 | static int bsdfPhotonScatter (OBJREC *mat, RAY *rayIn)
1667  
1668  
1669   static int lightPhotonScatter (OBJREC* mat, RAY* ray)
1670 < /* Light sources doan' reflect */
1670 > /* Light sources doan' reflect, mang */
1671   {
1672     return 0;
1673   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines