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

Comparing ray/src/rt/t_func.c (file contents):
Revision 2.7 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.8 by greg, Mon Oct 25 22:57:45 2010 UTC

# Line 58 | Line 58 | t_func(                        /* compute texture for ray */
58                  d = 1.0 / (mf->f->sca * r->rox->f.sca);
59          } else
60                  d = 1.0 / mf->f->sca;
61 <        for (i = 0; i < 3; i++)
62 <                r->pert[i] += disp[i] * d;
61 >        VSUM(r->pert, r->pert, disp, d);
62          return(0);
63   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines