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

Comparing ray/src/px/pcomb.c (file contents):
Revision 2.10 by greg, Thu Apr 29 14:32:07 1993 UTC vs.
Revision 2.11 by greg, Thu Apr 29 15:46:48 1993 UTC

# Line 486 | Line 486 | register char  *nam;
486                  if (input[fn].vw.type == 0)
487                          errno = ERANGE;
488                  else {
489 <                        pix2loc(loc, &input[fn].rs, xpos, ypos);
489 >                        pix2loc(loc, &input[fn].rs, xscan, ymax-1-yscan);
490                          if (viewray(lorg[fn], ldir[fn],
491                                          &input[fn].vw, loc[0], loc[1]) < 0)
492                                  errno = ERANGE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines