--- ray/src/rt/pmapray.h 2016/11/02 22:09:14 2.6 +++ ray/src/rt/pmapray.h 2024/09/17 16:36:05 2.8 @@ -1,4 +1,4 @@ -/* RCSid $Id: pmapray.h,v 2.6 2016/11/02 22:09:14 greg Exp $ */ +/* RCSid $Id: pmapray.h,v 2.8 2024/09/17 16:36:05 greg Exp $ */ /* ================================================================== @@ -10,17 +10,19 @@ supported by the Swiss National Science Foundation (SNSF, #147053) ================================================================== - $Id: pmapray.h,v 2.6 2016/11/02 22:09:14 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); @@ -31,3 +33,7 @@ void ray_restore_pmap (RAYPARAMS *rp); void ray_defaults_pmap (RAYPARAMS *rp); /* Interface to ray_defaults(); set photon mapping defaults */ + +#ifdef __cplusplus +} +#endif