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

Comparing ray/src/rt/m_clip.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:26 1989 UTC vs.
Revision 2.2 by greg, Wed Jan 12 16:46:37 1994 UTC

# Line 53 | Line 53 | register RAY  *r;
53                          }
54                          insertelem(modset, mod);
55                  }
56 <                (OBJECT *)m->os = modset;
56 >                m->os = (char *)modset;
57          }
58          if (r->clipset != NULL)
59                  setcopy(cset, r->clipset);
# Line 89 | Line 89 | register RAY  *r;
89                                          inside--;
90                  if (inside > 0) {       /* we just hit the object */
91                          flipsurface(r);
92 <                        rayshade(r, modifier(m->oargs.sarg[0]));
93 <                        return;
92 >                        return(rayshade(r, modifier(m->oargs.sarg[0])));
93                  }
94          }
95          raytrans(r);                    /* else transfer ray */
96 +        return(1);
97   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines