--- ray/src/rt/pmapray.h 2015/08/18 18:45:55 2.3 +++ ray/src/rt/pmapray.h 2024/09/17 16:36:05 2.8 @@ -1,4 +1,5 @@ -/* RCSid $Id: pmapray.h,v 2.3 2015/08/18 18:45:55 greg Exp $ */ +/* RCSid $Id: pmapray.h,v 2.8 2024/09/17 16:36:05 greg Exp $ */ + /* ================================================================== Photon map interface to RADIANCE raycalls @@ -9,17 +10,19 @@ supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== - $Id: pmapray.h,v 2.3 2015/08/18 18:45:55 greg Exp $ + $Id: pmapray.h,v 2.8 2024/09/17 16:36:05 greg Exp $ */ +/* Include after ray.h */ -#include "ray.h" +#ifdef __cplusplus +extern "C" { +#endif - -void ray_init_pmap (); +void ray_init_pmap (void); /* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */ -void ray_done_pmap (); +void ray_done_pmap (void); /* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */ void ray_save_pmap (RAYPARAMS *rp); @@ -27,3 +30,10 @@ void ray_save_pmap (RAYPARAMS *rp); void ray_restore_pmap (RAYPARAMS *rp); /* Interface to ray_restore(); restore photon mapping params */ + +void ray_defaults_pmap (RAYPARAMS *rp); +/* Interface to ray_defaults(); set photon mapping defaults */ + +#ifdef __cplusplus +} +#endif