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

Comparing ray/src/rt/dielectric.c (file contents):
Revision 2.26 by rschregle, Wed May 20 13:12:06 2015 UTC vs.
Revision 2.27 by greg, Thu May 21 13:54:59 2015 UTC

# 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 86 | Line 85 | m_dielectric(  /* color a ray which hit a dielectric in
85  
86          /* PMAP: skip refracted shadow or ambient ray if accounted for in
87             photon map */
88 <        if (shadowRayInPmap(r) || ambRayInPmap(r))
88 >        if (shadowRayInPmap(r))
89                  return(1);
90          
91          if (m->oargs.nfargs != (m->otype==MAT_DIELECTRIC ? 5 : 8))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines