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

Comparing ray/src/rt/pmapamb.h (file contents):
Revision 2.5 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.6 by greg, Tue Sep 17 16:36:04 2024 UTC

# Line 17 | Line 17
17   #ifndef PMAPAMB_H
18     #define PMAPAMB_H
19  
20 <   #include "pmapdata.h"  
20 >   #include "pmapdata.h"
21  
22 + #ifdef __cplusplus
23 + extern "C" {
24 + #endif
25 +
26     int ambPmap (COLOR aval, RAY *r, int rdepth);
27     /* Factor irradiance from global photon map into ambient coefficient
28      * aval; return 1 on success, else 0 (with aval unmodified) */
# Line 26 | Line 30
30     int ambPmapCaustic (COLOR aval, RAY *r, int rdepth);
31     /* Factor irradiance from caustic photon map into ambient coeffiecient
32      * aval; return 1 if successful, else 0 (with aval set to zero) */
33 +
34 + #ifdef __cplusplus
35 + }
36 + #endif
37 +
38   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines