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.45 by schorsch, Tue Mar 30 16:13:01 2004 UTC vs.
Revision 2.46 by greg, Thu Mar 10 22:37:00 2005 UTC

# Line 55 | Line 55 | rayorigin(             /* start new ray from old one */
55                  copycolor(r->albedo, salbedo);
56                  r->gecc = seccg;
57                  r->slights = NULL;
58 +        } else if (ro->rot >= FHUGE) {          /* illegal continuation */
59 +                memset(r, 0, sizeof(RAY));
60 +                return(-1);
61          } else {                                /* spawned ray */
62                  r->rlvl = ro->rlvl;
63                  if (rt & RAYREFL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines