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

Comparing ray/src/rt/dielectric.c (file contents):
Revision 2.16 by greg, Tue Feb 25 02:47:22 2003 UTC vs.
Revision 2.17 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 79 | Line 79 | register RAY  *r;
79  
80          raytexture(r, m->omod);                 /* get modifiers */
81  
82 <        if (hastexture = DOT(r->pert,r->pert) > FTINY*FTINY)
82 >        if ( (hastexture = DOT(r->pert,r->pert) > FTINY*FTINY) )
83                  cos1 = raynormal(dnorm, r);     /* perturb normal */
84          else {
85                  VCOPY(dnorm, r->ron);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines