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

Comparing ray/src/px/x11image.c (file contents):
Revision 1.7 by greg, Thu Aug 30 11:21:34 1990 UTC vs.
Revision 1.8 by greg, Sat Oct 13 21:31:48 1990 UTC

# Line 445 | Line 445 | XKeyPressedEvent  *ekey;
445                          XBell(thedisplay, 0);
446                          return(-1);
447                  }
448 <                viewray(rorg, rdir, &ourview,
448 >                if (viewray(rorg, rdir, &ourview,
449                                  (ekey->x-xoff+.5)/xmax,
450 <                                (ymax-1-ekey->y+yoff+.5)/ymax);
450 >                                (ymax-1-ekey->y+yoff+.5)/ymax) < 0)
451 >                        return(-1);
452                  printf("%e %e %e ", rorg[0], rorg[1], rorg[2]);
453                  printf("%e %e %e\n", rdir[0], rdir[1], rdir[2]);
454                  fflush(stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines