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.1 by greg, Tue Nov 12 16:05:23 1991 UTC vs.
Revision 2.4 by greg, Tue Feb 14 08:55:09 1995 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  <stdio.h>
14  
15 + #include  <math.h>
16 +
17   #include  "color.h"
18  
19  
# Line 23 | Line 25 | int  argc;
25   char  *argv[];
26   {
27          COLOR  col;
28 <        double  d1,d2,d3, atof(), log();
28 >        double  d1,d2,d3;
29          int  i;
30  
31          printargs(argc, argv, stdout);
# Line 60 | Line 62 | char  *argv[];
62   greyscale(col0)                 /* output our grey scale */
63   COLOR  col0;
64   {
65 <        double  exp();
65 >        extern double  exp();
66          COLOR  col1, col2, scanline[512];
67          double  x;
68          int  j;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines