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.32 by greg, Wed Nov 22 09:27:55 1995 UTC vs.
Revision 2.33 by greg, Wed Jan 3 11:33:56 1996 UTC

# Line 228 | Line 228 | register RAY  *r;
228          } else
229                  nd.tdiff = nd.tspec = nd.trans = 0.0;
230                                                  /* transmitted ray */
231 <        if ((nd.specfl&(SP_TRAN|SP_PURE)) == (SP_TRAN|SP_PURE)) {
231 >        if (nd.specfl&SP_TRAN && (nd.specfl&SP_PURE || r->crtype&SHADOW)) {
232                  RAY  lr;
233                  if (rayorigin(&lr, r, TRANS, nd.tspec) == 0) {
234                          VCOPY(lr.rdir, nd.prdir);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines