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, 1 week 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

# Content
1 /* RCSid $Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $ */
2
3 /*
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 (c) Lucerne University of Applied Sciences and Arts,
10 supported by the Swiss National Science Foundation (SNSF, #147053)
11 ==================================================================
12
13 $Id: pmapray.h,v 2.7 2024/03/22 16:54:16 greg Exp $
14 */
15
16 /* Include after ray.h */
17
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 (void);
26 /* 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
34 void ray_defaults_pmap (RAYPARAMS *rp);
35 /* Interface to ray_defaults(); set photon mapping defaults */
36
37 #ifdef __cplusplus
38 }
39 #endif