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

Comparing ray/src/rt/aniso.c (file contents):
Revision 2.52 by greg, Wed Oct 26 03:44:56 2011 UTC vs.
Revision 2.53 by greg, Sat Jun 9 07:16:47 2012 UTC

# Line 325 | Line 325 | getacoords(            /* set up coordinate system */
325                  np->specfl |= SP_BADU;
326                  return;
327          }
328 <        if (mf->f != &unitxf)
329 <                multv3(np->u, np->u, mf->f->xfm);
328 >        if (mf->fxp != &unitxf)
329 >                multv3(np->u, np->u, mf->fxp->xfm);
330          fcross(np->v, np->pnorm, np->u);
331          if (normalize(np->v) == 0.0) {
332                  objerror(np->mp, WARNING, "illegal orientation vector");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines