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

Comparing ray/src/rt/m_direct.c (file contents):
Revision 2.15 by greg, Tue Jul 8 18:25:00 2014 UTC vs.
Revision 2.16 by greg, Tue Nov 13 19:58:33 2018 UTC

# Line 124 | Line 124 | redirect(              /* compute n'th ray redirection */
124          multcolor(nr.rcol, nr.rcoef);
125          addcolor(r->rcol, nr.rcol);
126          if (r->ro != NULL && isflat(r->ro->otype))
127 <                r->rt = r->rot + nr.rt;
127 >                r->rxt = r->rot + raydistance(&nr);
128          return(1);
129   computerr:
130          objerror(m, WARNING, "compute error");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines