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

Comparing ray/src/rt/pmap.h (file contents):
Revision 2.8 by rschregle, Mon Aug 14 21:12:10 2017 UTC vs.
Revision 2.9 by rschregle, Wed Jan 24 19:39:05 2018 UTC

# Line 48 | Line 48
48     #define causticPhotonMapping  (causticPmap != NULL)
49     #define directPhotonMapping   (directPmap != NULL)
50     #define volumePhotonMapping   (volumePmap != NULL)
51 <   #define contribPhotonMapping  (contribPmap && contribPmap -> srcContrib)
52 <  
53 <  
51 >   /* #define contribPhotonMapping  (contribPmap && contribPmap -> srcContrib)
52 >    */
53 >   #define contribPhotonMapping  (contribPmap)
54 >      
55  
56     extern void (*pmapLookup [])(PhotonMap*, RAY*, COLOR);
57     /* Photon map lookup functions per type */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines