# | Line 51 | Line 51 | static double mylog(double x); | |
---|---|---|
51 | ||
52 | #define MINCOS 0.997 /* minimum dot product for dispersion */ | |
53 | ||
54 | < | static |
55 | < | double |
54 | > | static double |
55 | mylog( /* special log for extinction coefficients */ | |
56 | double x | |
57 | ) | |
# | Line 84 | Line 83 | m_dielectric( /* color a ray which hit a dielectric in | |
83 | RAY p; | |
84 | int i; | |
85 | ||
86 | < | /* PMAP: skip refracted shadow ray if accounted for by photon map */ |
86 | > | /* PMAP: skip refracted shadow or ambient ray if accounted for in |
87 | > | photon map */ |
88 | if (shadowRayInPmap(r)) | |
89 | return(1); | |
90 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |