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

Comparing ray/src/px/pinterp.c (file contents):
Revision 2.41 by schorsch, Sun Mar 28 20:33:14 2004 UTC vs.
Revision 2.43 by greg, Wed Feb 8 13:43:21 2012 UTC

# Line 134 | Line 134 | main(                  /* interpolate pictures */
134          char    *expcomp = NULL;
135          int     i, an, rval;
136  
137 +        SET_DEFAULT_BINARY();
138 +        SET_FILE_BINARY(stdout);
139 +
140          progname = argv[0];
141  
142          for (an = 1; an < argc && argv[an][0] == '-'; an++) {
# Line 414 | Line 417 | nextview(                              /* get and set next view */
417                  avgview.vdir[i] += ourview.vdir[i];
418                  avgview.vup[i] += ourview.vup[i];
419          }
420 +        avgview.vdist += ourview.vdist;
421          avgview.horiz += ourview.horiz;
422          avgview.vert += ourview.vert;
423          avgview.hoff += ourview.hoff;
# Line 438 | Line 442 | compavgview(void)                              /* compute average view */
442                  avgview.vdir[i] *= f;
443                  avgview.vup[i] *= f;
444          }
445 +        avgview.vdist *= f;
446          avgview.horiz *= f;
447          avgview.vert *= f;
448          avgview.hoff *= f;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines