ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapray.h
Revision: 2.8
Committed: Tue Sep 17 16:36:05 2024 UTC (7 months, 2 weeks ago) by greg
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 2.7: +12 -4 lines
Log Message:
chore: Added extern "C" to headers to avoid C++ name mangling

File Contents

# User Rev Content
1 greg 2.8 /* RCSid $Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $ */
2 rschregle 2.5
3 greg 2.1 /*
4     ==================================================================
5     Photon map interface to RADIANCE raycalls
6    
7     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
8     (c) Fraunhofer Institute for Solar Energy Systems,
9 rschregle 2.2 (c) Lucerne University of Applied Sciences and Arts,
10     supported by the Swiss National Science Foundation (SNSF, #147053)
11 greg 2.1 ==================================================================
12    
13 greg 2.8 $Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $
14 greg 2.1 */
15    
16 greg 2.7 /* Include after ray.h */
17 greg 2.1
18 greg 2.8 #ifdef __cplusplus
19     extern "C" {
20     #endif
21    
22     void ray_init_pmap (void);
23 greg 2.1 /* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */
24    
25 greg 2.8 void ray_done_pmap (void);
26 greg 2.1 /* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */
27    
28     void ray_save_pmap (RAYPARAMS *rp);
29     /* Interface to ray_save(); save photon map params */
30    
31     void ray_restore_pmap (RAYPARAMS *rp);
32     /* Interface to ray_restore(); restore photon mapping params */
33 greg 2.6
34     void ray_defaults_pmap (RAYPARAMS *rp);
35     /* Interface to ray_defaults(); set photon mapping defaults */
36 greg 2.8
37     #ifdef __cplusplus
38     }
39     #endif