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

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

# Line 74 | Line 74 | t_data(                        /* interpolate texture data */
74                  d = 1.0 / (mf->f->sca * r->rox->f.sca);
75          } else
76                  d = 1.0 / mf->f->sca;
77 <        for (i = 0; i < 3; i++)
78 <                r->pert[i] += disp[i] * d;
77 >        VSUM(r->pert, r->pert, disp, d);
78          return(0);
79   computerr:
80          objerror(m, WARNING, "compute error");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines