--- ray/src/rt/pmapbias.h 2015/02/24 19:39:26 2.1 +++ ray/src/rt/pmapbias.h 2024/09/17 16:36:05 2.6 @@ -1,3 +1,5 @@ +/* RCSid $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ + /* ================================================================== Bias compensation for photon density estimates @@ -6,12 +8,11 @@ R. Schregle, "Bias Compensation for Photon Maps", Computer Graphics Forum, v22:n4, pp. 729-742, Dec. 2003. - Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) - (c) Fraunhofer Institute for Solar Energy Systems, - Lucerne University of Applied Sciences & Arts + Roland Schregle (roland.schregle@gmail.com) + (c) Fraunhofer Institute for Solar Energy Systems ================================================================== - $Id: pmapbias.h,v 2.1 2015/02/24 19:39:26 greg Exp $ + $Id: pmapbias.h,v 2.6 2024/09/17 16:36:05 greg Exp $ */ @@ -20,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) */ @@ -30,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. */ @@ -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