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

Comparing ray/src/rt/m_bsdf.c (file contents):
Revision 2.17 by greg, Thu Sep 22 02:15:56 2011 UTC vs.
Revision 2.18 by greg, Fri Mar 30 15:08:40 2012 UTC

# Line 557 | Line 557 | m_bsdf(OBJREC *m, RAY *r)
557                  bnorm[2] = -nd.pnorm[2];
558                  if (nd.thick != 0) {            /* proxy with offset? */
559                          VCOPY(vtmp, r->rop);
560 <                        VSUM(r->rop, vtmp, r->ron, -nd.thick);
560 >                        VSUM(r->rop, vtmp, r->ron, nd.thick);
561                          multambient(ctmp, r, bnorm);
562                          VCOPY(r->rop, vtmp);
563                  } else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines