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.21 by greg, Thu Sep 9 14:57:53 1993 UTC vs.
Revision 2.23 by greg, Thu Jan 6 15:52:17 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\"",
640 <                                objptr(thisray.ro->omod)->oname,
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,
644                                  thisray.ro->oname);
645                  (*dev->comout)(buf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines