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.20 by greg, Thu Sep 9 13:47:55 1993 UTC vs.
Revision 2.22 by greg, Wed Dec 15 16:59:14 1993 UTC

# Line 32 | Line 32 | static char SCCSid[] = "$SunId$ LBL";
32  
33   extern char  *atos();
34  
35 + extern FILE  *popen();
36 +
37   extern char  rifname[128];              /* rad input file name */
38  
39   extern char  VersionID[];
# Line 635 | Line 637 | char  *s;
637                  (*dev->comout)("ray hit nothing");
638          else {
639                  sprintf(buf, "ray hit %s %s \"%s\"",
640 <                                objptr(thisray.ro->omod)->oname,
640 >                                thisray.ro->omod == OVOID ? VOIDID :
641 >                                        objptr(thisray.ro->omod)->oname,
642                                  ofun[thisray.ro->otype].funame,
643                                  thisray.ro->oname);
644                  (*dev->comout)(buf);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines