# | Line 11 | Line 11 | static const char RCSid[] = "$Id$"; | |
---|---|---|
11 | #include "otypes.h" | |
12 | #include "rtotypes.h" | |
13 | #include "source.h" | |
14 | – | #include "pmapmat.h" |
14 | ||
15 | /* | |
16 | * The real arguments for MAT_MIRROR are simply: | |
# | Line 40 | Line 39 | m_mirror( /* shade mirrored ray */ | |
39 | RAY nr; | |
40 | int rpure = 1; | |
41 | int i; | |
43 | – | |
44 | – | /* PMAP: skip specular refl via ambient bounce if already accounted for |
45 | – | * in photon map */ |
46 | – | if (ambRayInPmap(r)) |
47 | – | return(1); |
42 | /* check arguments */ | |
43 | if (m->oargs.nfargs != 3 || m->oargs.nsargs > 1) | |
44 | objerror(m, USER, "bad number of arguments"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |