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

Comparing ray/src/px/panim.c (file contents):
Revision 1.3 by greg, Thu Dec 28 08:18:49 1989 UTC vs.
Revision 1.4 by greg, Fri Jan 26 08:17:35 1990 UTC

# Line 105 | Line 105 | char   *file;
105                          fputs(": read error\n", stderr);
106                          exit(1);
107                  }
108 <                normcolrs(scanin, xres);        /* normalize */
108 >                normcolrs(scanin, xres, 0);     /* normalize */
109                  for (x = 0; x < xres; x++)      /* convert */
110                          sc_frame_arr[y+ybeg][x+xbeg] =
111                          ((gammamap[scanin[x][RED]]+(random()&7))&0xf8)<<7

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines