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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.22 by greg, Wed Dec 15 16:59:14 1993 UTC vs.
Revision 2.24 by greg, Mon Feb 28 09:24:43 1994 UTC

# Line 636 | Line 636 | char  *s;
636          if (thisray.ro == NULL)
637                  (*dev->comout)("ray hit nothing");
638          else {
639 <                sprintf(buf, "ray hit %s %s \"%s\"",
639 >                sprintf(buf, "ray hit %s%s %s \"%s\"",
640 >                                thisray.rod < 0.0 ? "back of " : "",
641                                  thisray.ro->omod == OVOID ? VOIDID :
642                                          objptr(thisray.ro->omod)->oname,
643                                  ofun[thisray.ro->otype].funame,
# Line 692 | Line 693 | char  *s;
693          (*dev->comout)(fname);
694          (*dev->comout)("\"...\n");
695                                                  /* write header */
696 +        newheader("RADIANCE", fp);
697          fputs(progname, fp);
698          fprintview(&ourview, fp);
699          if (octname != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines