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

Comparing ray/src/rt/pmapray.h (file contents):
Revision 2.7 by greg, Fri Mar 22 16:54:16 2024 UTC vs.
Revision 2.8 by greg, Tue Sep 17 16:36:05 2024 UTC

# Line 15 | Line 15
15  
16   /* Include after ray.h */
17  
18 < void ray_init_pmap ();
18 > #ifdef __cplusplus
19 > extern "C" {
20 > #endif
21 >
22 > void ray_init_pmap (void);
23   /* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */
24  
25 < void ray_done_pmap ();
25 > void ray_done_pmap (void);
26   /* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */
27  
28   void ray_save_pmap (RAYPARAMS *rp);
# Line 29 | Line 33 | void ray_restore_pmap (RAYPARAMS *rp);
33  
34   void ray_defaults_pmap (RAYPARAMS *rp);
35   /* Interface to ray_defaults(); set photon mapping defaults */
36 +
37 + #ifdef __cplusplus
38 + }
39 + #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines