--- ray/src/rt/pmapbias.h 2016/05/17 17:39:47 2.5 +++ ray/src/rt/pmapbias.h 2024/09/17 16:36:05 2.6 @@ -1,4 +1,4 @@ -/* RCSid $Id: pmapbias.h,v 2.5 2016/05/17 17:39:47 rschregle Exp $ */ +/* RCSid $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ /* ================================================================== @@ -12,7 +12,7 @@ (c) Fraunhofer Institute for Solar Energy Systems ================================================================== - $Id: pmapbias.h,v 2.5 2016/05/17 17:39:47 rschregle Exp $ + $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ @@ -20,7 +20,11 @@ #define PMAPBIASCOMP_H #include "pmapdata.h" - + +#ifdef __cplusplus +extern "C" { +#endif + /* Bias compensation weighting function */ /* #define BIASCOMP_WGT(n) 1 */ /* #define BIASCOMP_WGT(n) (n) */ @@ -38,5 +42,9 @@ void volumeBiasComp (PhotonMap*, const RAY*, COLOR); /* Photon volume density estimate with bias compensation, returning irradiance. Expects photons in search queue after a kd-tree lookup. */ + +#ifdef __cplusplus +} +#endif #endif