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 1.19 by greg, Tue Jan 16 11:29:14 1990 UTC vs.
Revision 1.21 by greg, Wed Jan 17 15:12:37 1990 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ LBL";
16  
17   #include "color.h"
18  
19 + #ifndef BSD
20 + #define vfork           fork
21 + #endif
22 +
23   #define pscan(y)        (ourpict+(y)*hresolu)
24   #define zscan(y)        (ourzbuf+(y)*hresolu)
25  
# Line 362 | Line 366 | struct position        *lasty;         /* input/output */
366          struct position lastx, newpos;
367          register int    x;
368  
369 +        lastx.z = 0;
370          for (x = thresolu-1; x >= 0; x--) {
371                  pos[0] = (x+.5)/thresolu + theirview.hoff - .5;
372                  pos[1] = (y+.5)/tvresolu + theirview.voff - .5;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines