| # | 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 | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |