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

Comparing ray/src/px/pf3.c (file contents):
Revision 2.1 by greg, Tue Nov 12 16:05:26 1991 UTC vs.
Revision 2.2 by greg, Mon Sep 21 12:14:12 1992 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1986 Regents of the University of California */
1 > /* Copyright (c) 1992 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 14 | Line 14 | static char SCCSid[] = "$SunId$ LBL";
14  
15   #include  "color.h"
16  
17 < #define  FTINY          1e-7
17 > #define  FTINY          1e-7
18  
19   extern double  rad;             /* output pixel radius for filtering */
20  
# Line 38 | Line 38 | extern char  *progname;
38  
39   float  *exptable;               /* exponent table */
40  
41 < #define  lookexp(x)             exptable[(int)(-10.*(x)+.5)]
41 > #define  lookexp(x)             exptable[(int)(-10.*(x)+.5)]
42  
43  
44   initmask()                      /* initialize gaussian lookup table */
# Line 66 | Line 66 | int  c, r;
66          static double  d;
67          static int  y;
68          register int  x;
69 <        register COLOR  *scan;
69 >        register COLOR  *scan;
70  
71          wsum = 0;
72          setcolor(csum, 0.0, 0.0, 0.0);
# Line 101 | Line 101 | int  c, r;
101          static COLOR  ctmp;
102          static int  y;
103          register int  x;
104 <        register COLOR  *scan;
104 >        register COLOR  *scan;
105  
106          wsum = FTINY;
107          setcolor(csum, 0.0, 0.0, 0.0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines