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.6 by greg, Tue May 25 10:30:01 1993 UTC vs.
Revision 2.7 by greg, Wed Jul 21 15:36:13 1993 UTC

# Line 105 | Line 105 | RAY  *r;
105   raycont(r)                      /* check for clipped object and continue */
106   register RAY  *r;
107   {
108 <        if (r->clipset != NULL && inset(r->clipset, r->ro->omod))
108 >        if ((r->clipset != NULL && inset(r->clipset, r->ro->omod)) ||
109 >                        r->ro->omod == OVOID)
110                  raytrans(r);
111          else
112                  rayshade(r, r->ro->omod);
# Line 463 | Line 464 | OBJECT  *cxs;
464          checkset(oset, cxs);                    /* eliminate double-checking */
465          for (i = oset[0]; i > 0; i--) {
466                  o = objptr(oset[i]);
466                if (o->omod == OVOID && issurface(o->otype))
467                        continue;               /* ignore void surfaces */
467                  (*ofun[o->otype].funp)(o, r);
468          }
469          if (r->ro == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines