ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/m_mirror.c
(Generate patch)

Comparing ray/src/rt/m_mirror.c (file contents):
Revision 2.17 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.18 by greg, Tue May 26 13:21:07 2015 UTC

# 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");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines