20 |
|
#define PMAPBIASCOMP_H |
21 |
|
|
22 |
|
#include "pmapdata.h" |
23 |
< |
|
23 |
> |
|
24 |
> |
#ifdef __cplusplus |
25 |
> |
extern "C" { |
26 |
> |
#endif |
27 |
> |
|
28 |
|
/* Bias compensation weighting function */ |
29 |
|
/* #define BIASCOMP_WGT(n) 1 */ |
30 |
|
/* #define BIASCOMP_WGT(n) (n) */ |
42 |
|
void volumeBiasComp (PhotonMap*, const RAY*, COLOR); |
43 |
|
/* Photon volume density estimate with bias compensation, returning |
44 |
|
irradiance. Expects photons in search queue after a kd-tree lookup. */ |
45 |
+ |
|
46 |
+ |
#ifdef __cplusplus |
47 |
+ |
} |
48 |
+ |
#endif |
49 |
|
|
50 |
|
#endif |