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

Comparing ray/src/px/pfilt.c (file contents):
Revision 1.4 by greg, Tue Apr 11 21:50:05 1989 UTC vs.
Revision 1.6 by greg, Sat Apr 29 09:22:54 1989 UTC

# Line 88 | Line 88 | char  **argv;
88                          switch (argv[i][1]) {
89                          case 'x':
90                                  i++;
91 <                                if (argv[i][0] == '/')
91 >                                if (argv[i][0] == '/') {
92                                          x_c = 1.0/atof(argv[i]+1);
93 <                                else
93 >                                        ncols = 0;
94 >                                } else
95                                          ncols = atoi(argv[i]);
96                                  break;
97                          case 'y':
98                                  i++;
99 <                                if (argv[i][0] == '/')
99 >                                if (argv[i][0] == '/') {
100                                          y_r = 1.0/atof(argv[i]+1);
101 <                                else
101 >                                        nrows = 0;
102 >                                } else
103                                          nrows = atoi(argv[i]);
104                                  break;
105                          case 'e':
# Line 125 | Line 127 | char  **argv;
127                                  break;
128                          case '1':
129                                  singlepass = 1;
130 +                                break;
131 +                        case '2':
132 +                                singlepass = 0;
133                                  break;
134                          case 'p':
135                                  npts = atoi(argv[++i]) / 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines