chore: Added extern "C" to headers to avoid C++ name mangling
style(mkpmap): revised headers and indentation/linebreaks
Clarified (hopefully) somewhat totally esoteric comment about PMAP_CAUSTICRAY() macro.
Revised PMAP overcounting macros in pmapmat.h, added one in badcomponent() for overcounted caustics from transferred shadow/ambient rays
Included contrib pmap in overcounting macros
Had to reinstate ambRayInPmap() macro to avoid over-counting bug
Removed redundant $Id: in file
Added missing RCSid forgotten during initial check-in
Fixed bug with handling of -am rendering option, removed redundant code
More macro-management
Removed deprecated ambRayInPmap() macro from code
Moved ambient ray truncation to rayorigin() -- remove ambRayInPmap() later
Added calls to findmaterial() and simplified photon map shadow check
Double-counting bugfix for glow sources (thanks DGM!), revised copyright
Initial check-in of photon map addition by Roland Schregle
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.