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

Comparing ray/src/px/ximage.c (file contents):
Revision 1.24 by greg, Mon Mar 12 15:14:49 1990 UTC vs.
Revision 1.25 by greg, Sat Oct 13 21:31:45 1990 UTC

# Line 407 | Line 407 | XKeyEvent  *ekey;
407                          XFeep(0);
408                          return(-1);
409                  }
410 <                viewray(rorg, rdir, &ourview, (ekey->x-xoff+.5)/xmax,
411 <                                (ymax-1-ekey->y+yoff+.5)/ymax);
410 >                if (viewray(rorg, rdir, &ourview, (ekey->x-xoff+.5)/xmax,
411 >                                (ymax-1-ekey->y+yoff+.5)/ymax) < 0)
412 >                        return(-1);
413                  printf("%e %e %e ", rorg[0], rorg[1], rorg[2]);
414                  printf("%e %e %e\n", rdir[0], rdir[1], rdir[2]);
415                  fflush(stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines