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.34 by greg, Wed Apr 24 15:47:27 1996 UTC vs.
Revision 2.35 by greg, Tue Jan 7 16:44:04 1997 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines