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

Comparing ray/src/rt/pmapdata.h (file contents):
Revision 2.13 by rschregle, Fri Dec 7 20:02:40 2018 UTC vs.
Revision 2.14 by rschregle, Wed Apr 8 15:14:21 2020 UTC

# Line 317 | Line 317
317        are placed search queue starting with the furthest photon at pmap ->
318        squeue.node, and pmap -> squeue.tail being the number actually found. */
319  
320 <   void find1Photon (PhotonMap *pmap, const RAY *ray, Photon *photon);
321 <   /* Finds single closest photon to ray -> rop with similar normal.
322 <      Returns NULL if none found. */
320 >   Photon *find1Photon (PhotonMap *pmap, const RAY *ray, Photon *photon);
321 >   /* Find single closest photon to ray -> rop with similar normal.
322 >      Return NULL if none found, else the supplied Photon* buffer,
323 >      indicating that it contains a valid photon. */
324  
325     void getPhoton (PhotonMap *pmap, PhotonIdx idx, Photon *photon);
326     /* Retrieve photon referenced by idx from pmap -> store */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines