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

Comparing ray/src/rt/normal.c (file contents):
Revision 2.41 by greg, Wed Mar 12 04:59:05 2003 UTC vs.
Revision 2.42 by greg, Wed Mar 12 17:26:58 2003 UTC

# Line 203 | Line 203 | register RAY  *r;
203          } else {
204                  VCOPY(nd.pnorm, r->ron);
205                  nd.pdot = r->rod;
206                if (r->ro != NULL && isflat(r->ro->otype))
207                        nd.specfl |= SP_FLAT;
206          }
207 +        if (r->ro != NULL && isflat(r->ro->otype))
208 +                nd.specfl |= SP_FLAT;
209          if (nd.pdot < .001)
210                  nd.pdot = .001;                 /* non-zero for dirnorm() */
211          multcolor(nd.mcolor, r->pcol);          /* modify material color */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines