1 |
+ |
/* RCSid $Id$ */ |
2 |
|
/* |
3 |
|
================================================================== |
4 |
|
Photon map main header |
35 |
|
|
36 |
|
/* Macros to test for enabled photon maps */ |
37 |
|
#define photonMapping (globalPmap || preCompPmap || \ |
38 |
< |
causticPmap ||contribPmap) |
39 |
< |
#define causticPhotonMapping (causticPmap) |
40 |
< |
#define directPhotonMapping (directPmap) |
41 |
< |
#define volumePhotonMapping (volumePmap) |
38 |
> |
causticPmap || contribPmap) |
39 |
> |
#define causticPhotonMapping (causticPmap != NULL) |
40 |
> |
#define directPhotonMapping (directPmap != NULL) |
41 |
> |
#define volumePhotonMapping (volumePmap != NULL) |
42 |
|
#define contribPhotonMapping (contribPmap && contribPmap -> srcContrib) |
43 |
|
|
44 |
|
|