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.29 by greg, Tue Nov 13 19:58:33 2018 UTC vs.
Revision 2.30 by greg, Fri Apr 19 19:01:32 2019 UTC

# Line 226 | Line 226 | m_dielectric(  /* color a ray which hit a dielectric in
226                  copycolor(r->mcol, p.rcol);
227                  addcolor(r->rcol, p.rcol);
228                                                  /* virtual distance */
229 +                r->rmt = r->rot;
230                  if (flatsurface)
231 <                        r->rmt = r->rot + raydistance(&p);
231 >                        r->rmt += raydistance(&p);
232          }
233                                  /* rayvalue() computes absorption */
234          return(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines