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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.17 by greg, Wed Dec 21 09:10:23 1994 UTC vs.
Revision 2.18 by greg, Fri Jan 6 14:00:47 1995 UTC

# Line 452 | Line 452 | register CUBE  *cu;
452                  }
453                  /*NOTREACHED*/
454          }
455 <        if (isfull(cu->cutree) && checkhit(r, cu, cxs))
455 >        if (isfull(cu->cutree)) {
456 >                if (checkhit(r, cu, cxs))
457 >                        return(RAYHIT);
458 >        } else if (r->ro == &Aftplane && incube(cu, r->rop))
459                  return(RAYHIT);
460                                          /* advance to next cube */
461          if (dirf&0x11) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines