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

Comparing ray/src/rt/rtrace.c (file contents):
Revision 2.32 by greg, Wed Jul 16 01:32:53 2003 UTC vs.
Revision 2.33 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 285 | Line 285 | double dmax;
285          thisray.rmax = dmax;
286          rayorigin(&thisray, NULL, PRIMARY, 1.0);
287          if (castonly) {
288 <                if (!localhit(&thisray, &thescene))
288 >                if (!localhit(&thisray, &thescene)) {
289                          if (thisray.ro == &Aftplane) {  /* clipped */
290                                  thisray.ro = NULL;
291                                  thisray.rot = FHUGE;
292                          } else
293                                  sourcehit(&thisray);
294 +                }
295          } else
296                  rayvalue(&thisray);
297          printvals(&thisray);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines