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

Comparing ray/src/rt/normal.c (file contents):
Revision 2.79 by greg, Wed Feb 13 02:38:26 2019 UTC vs.
Revision 2.80 by greg, Fri Apr 19 19:01:32 2019 UTC

# Line 321 | Line 321 | m_normal(                      /* color a ray that hit something normal *
321                          multcolor(lr.rcol, lr.rcoef);
322                          copycolor(r->mcol, lr.rcol);
323                          addcolor(r->rcol, lr.rcol);
324 +                        r->rmt = r->rot;
325                          if (nd.specfl & SP_FLAT &&
326                                          !hastexture | (r->crtype & AMBIENT))
327 <                                r->rmt = r->rot + raydistance(&lr);
327 >                                r->rmt += raydistance(&lr);
328                  }
329          }
330  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines