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

Comparing ray/src/px/paintjet.c (file contents):
Revision 1.2 by greg, Fri Oct 20 16:44:37 1989 UTC vs.
Revision 1.3 by greg, Fri Oct 20 20:36:13 1989 UTC

# Line 67 | Line 67 | char  *fname;
67          for (i = yres-1; i >= 0; i--) {
68                  if (freadcolrs(scanline, xres, input) < 0)
69                          return(-1);
70 <                normscan(scanline, xres);
70 >                normcolrs(scanline, xres);
71                  plotscan(scanline, xres, i);
72          }
73  
# Line 76 | Line 76 | char  *fname;
76          fclose(input);
77  
78          return(0);
79 }
80
81
82 normscan(scan, len)                     /* normalize a scanline */
83 register COLR  scan[];
84 int  len;
85 {
86        register int  i;
87
88        for (i = 0; i < len; i++)
89                colr_norm(scan[i], scan[i]);
79   }
80  
81  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines