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

Comparing ray/src/px/greyscale.c (file contents):
Revision 2.2 by greg, Thu Dec 19 14:51:48 1991 UTC vs.
Revision 2.6 by greg, Sat Feb 22 02:07:27 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1986 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  greyscale.c - program to produce grey test levels.
6   *
# Line 12 | Line 9 | static char SCCSid[] = "$SunId$ LBL";
9  
10   #include  <stdio.h>
11  
12 + #include  <math.h>
13 +
14   #include  "color.h"
15  
16  
# Line 23 | Line 22 | int  argc;
22   char  *argv[];
23   {
24          COLOR  col;
25 <        double  d1,d2,d3, log();
25 >        double  d1,d2,d3;
26          int  i;
27  
28          printargs(argc, argv, stdout);
# Line 60 | Line 59 | char  *argv[];
59   greyscale(col0)                 /* output our grey scale */
60   COLOR  col0;
61   {
63        double  exp();
62          COLOR  col1, col2, scanline[512];
63          double  x;
64          int  j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines