16 |
|
#define PMAPCONTRIB_H |
17 |
|
|
18 |
|
#include "pmapdata.h" |
19 |
< |
|
19 |
> |
|
20 |
> |
#ifdef __cplusplus |
21 |
> |
extern "C" { |
22 |
> |
#endif |
23 |
> |
|
24 |
|
void initPmapContrib (LUTAB *srcContrib, unsigned numSrcContrib); |
25 |
|
/* Set up photon map contributions (interface to rcmain.c) */ |
26 |
|
|
31 |
|
void photonContrib (PhotonMap *pmap, RAY *ray, COLOR irrad); |
32 |
|
/* Accumulate light source contributions in pmap -> srcMods from |
33 |
|
* photons, and return cumulative irradiance from density esimate */ |
34 |
+ |
|
35 |
+ |
#ifdef __cplusplus |
36 |
+ |
} |
37 |
+ |
#endif |
38 |
|
|
39 |
|
#endif |