| 1 | greg | 2.1 | /* | 
| 2 |  |  | ================================================================== | 
| 3 |  |  | Photon map interface to RADIANCE raycalls | 
| 4 |  |  |  | 
| 5 |  |  | Roland Schregle (roland.schregle@{hslu.ch, gmail.com}) | 
| 6 |  |  | (c) Fraunhofer Institute for Solar Energy Systems, | 
| 7 |  |  | Lucerne University of Applied Sciences & Arts | 
| 8 |  |  | ================================================================== | 
| 9 |  |  |  | 
| 10 |  |  | $Id: pmapray.h,v 1.1 2014/08/26 15:11:51 taschreg Exp $ | 
| 11 |  |  | */ | 
| 12 |  |  |  | 
| 13 |  |  |  | 
| 14 |  |  | #include "ray.h" | 
| 15 |  |  |  | 
| 16 |  |  |  | 
| 17 |  |  | void ray_init_pmap (); | 
| 18 |  |  | /* Interface to ray_init() and rtmain/rpmain/rvmain; init & load pmaps */ | 
| 19 |  |  |  | 
| 20 |  |  | void ray_done_pmap (); | 
| 21 |  |  | /* Interface to ray_done() and rtmain/rpmain/rvmain; free photon maps */ | 
| 22 |  |  |  | 
| 23 |  |  | void ray_save_pmap (RAYPARAMS *rp); | 
| 24 |  |  | /* Interface to ray_save(); save photon map params */ | 
| 25 |  |  |  | 
| 26 |  |  | void ray_restore_pmap (RAYPARAMS *rp); | 
| 27 |  |  | /* Interface to ray_restore(); restore photon mapping params */ |