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

Comparing ray/src/rt/rv3.c (file contents):
Revision 2.15 by greg, Fri Jan 21 00:52:59 2005 UTC vs.
Revision 2.16 by greg, Fri Feb 18 17:47:53 2005 UTC

# Line 416 | Line 416 | FVECT  vc;
416                          nv.vaft += d - d*mag;
417                          if (nv.vaft <= nv.vfore) nv.vaft = 0.0;
418                  }
419 <                nv.vdist += d - d*mag;
419 >                nv.vdist /= mag;
420          }
421          for (i = 0; i < 3; i++)
422                  nv.vp[i] = vc[i] - d*nv.vdir[i];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines