34 |
|
|
35 |
|
/* Macros to test for enabled photon maps */ |
36 |
|
#define photonMapping (globalPmap || preCompPmap || \ |
37 |
< |
causticPmap ||contribPmap) |
38 |
< |
#define causticPhotonMapping (causticPmap) |
39 |
< |
#define directPhotonMapping (directPmap) |
40 |
< |
#define volumePhotonMapping (volumePmap) |
37 |
> |
causticPmap || contribPmap) |
38 |
> |
#define causticPhotonMapping (causticPmap != NULL) |
39 |
> |
#define directPhotonMapping (directPmap != NULL) |
40 |
> |
#define volumePhotonMapping (volumePmap != NULL) |
41 |
|
#define contribPhotonMapping (contribPmap && contribPmap -> srcContrib) |
42 |
|
|
43 |
|
|