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.14 by rschregle, Fri Feb 2 19:47:55 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines