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

Comparing ray/src/rt/pmapkdt.h (file contents):
Revision 1.2 by rschregle, Wed Apr 8 15:14:21 2020 UTC vs.
Revision 1.3 by greg, Tue Sep 17 16:36:05 2024 UTC

# Line 19 | Line 19
19     #include "fvect.h" */
20     #include "pmapdata.h"
21    
22 + #ifdef __cplusplus
23 + extern "C" {
24 + #endif
25  
26     /* Forward declarations to break dependency loop with pmapdata.h */
27     struct PhotonMap;
28  
26
29     /* k-d tree as linear array of photons */
30     typedef struct {
31        Photon   *nodes;  /* k-d tree as linear array */
# Line 91 | Line 93
93    
94     void kdT_Delete (PhotonKdTree *kdt);
95     /* Self-destruct */
96 +
97 + #ifdef __cplusplus
98 + }
99 + #endif
100  
101   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines