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.38 by greg, Wed Mar 12 04:59:05 2003 UTC vs.
Revision 2.39 by greg, Wed Mar 12 17:26:58 2003 UTC

# Line 265 | Line 265 | register RAY  *r;
265                                                  /* diffuse reflection */
266          nd.rdiff = 1.0 - nd.trans - nd.rspec;
267  
268 <        if (r->ro != NULL && isflat(r->ro->otype) &&
269 <                        DOT(r->pert,r->pert) <= FTINY*FTINY)
268 >        if (r->ro != NULL && isflat(r->ro->otype))
269                  nd.specfl |= SP_FLAT;
270  
271          getacoords(r, &nd);                     /* set up coordinates */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines