| # | Line 9 | Line 9 | |
|---|---|---|
| 9 | #include "octree.h" | |
| 10 | #include "object.h" | |
| 11 | #include "color.h" | |
| 12 | + | #include "pmapparm.h" |
| 13 | ||
| 14 | #ifdef __cplusplus | |
| 15 | extern "C" { | |
| # | Line 164 | Line 165 | typedef struct { /* rendering parameter holder */ | |
| 165 | int ambincl; | |
| 166 | short amblndx[AMBLLEN+1]; | |
| 167 | char amblval[AMBLLEN*AMBWORD]; | |
| 168 | + | |
| 169 | + | /* PMAP: photon mapping parameters */ |
| 170 | + | PhotonMapParams pmapParams [NUM_PMAP_TYPES]; |
| 171 | } RAYPARAMS; | |
| 172 | ||
| 173 | #define rpambmod(p,i) ( (i)>=AMBLLEN||(p)->amblndx[i]<0 ? \ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |