--- ray/src/rt/pmapbias.h 2015/09/01 16:27:52 2.4 +++ ray/src/rt/pmapbias.h 2024/09/17 16:36:05 2.6 @@ -1,4 +1,5 @@ -/* RCSid $Id: pmapbias.h,v 2.4 2015/09/01 16:27:52 greg Exp $ */ +/* RCSid $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ + /* ================================================================== Bias compensation for photon density estimates @@ -11,6 +12,7 @@ (c) Fraunhofer Institute for Solar Energy Systems ================================================================== + $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ @@ -19,6 +21,10 @@ #include "pmapdata.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Bias compensation weighting function */ /* #define BIASCOMP_WGT(n) 1 */ /* #define BIASCOMP_WGT(n) (n) */ @@ -29,7 +35,6 @@ /* Dump photon bandwidth for bias compensated density estimates */ /* #define BIASCOMP_BWIDTH */ - void biasComp (PhotonMap*, COLOR); /* Photon density estimate with bias compensation, returning irradiance. Expects photons in search queue after a kd-tree lookup. */ @@ -37,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