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

Comparing ray/src/util/vwrays.c (file contents):
Revision 3.10 by schorsch, Fri Mar 26 23:34:23 2004 UTC vs.
Revision 3.11 by greg, Thu Jan 20 23:52:02 2005 UTC

# Line 160 | Line 160 | pix2rays(
160          register int    i;
161  
162          while (fscanf(fp, "%lf %lf", &px, &py) == 2) {
163 +                px += .5; py += .5;
164                  if (px < 0 || px >= rs.xr ||
165                                  py < 0 || py >= rs.yr) {
166                          fprintf(stderr,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines