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

Comparing ray/src/util/rad.c (file contents):
Revision 2.30 by greg, Thu Nov 11 10:20:06 1993 UTC vs.
Revision 2.33 by greg, Thu Nov 18 10:00:21 1993 UTC

# Line 252 | Line 252 | setvariable(ass)               /* assign variable according to stri
252   register char   *ass;
253   {
254          char    varname[32];
255        char    varval[512];
255          int     n;
256          register char   *cp;
257          register VARIABLE       *vp;
# Line 804 | Line 803 | char   *op;
803                  medqopts(op);
804                  break;
805          case HIGH:
806 <                lowqopts(op);
806 >                hiqopts(op);
807                  break;
808          }
809   }
# Line 1317 | Line 1316 | char   *opts;
1316                                          /* get pfilt options */
1317          pfiltopts(pfopts);
1318                                          /* get resolution, reporting */
1319 <        mult = vscale(QUALITY)+1;
1319 >        switch (vscale(QUALITY)) {
1320 >        case LOW:
1321 >                mult = 1;
1322 >                break;
1323 >        case MEDIUM:
1324 >                mult = 2;
1325 >                break;
1326 >        case HIGH:
1327 >                mult = 3;
1328 >                break;
1329 >        }
1330          {
1331                  int     xres, yres;
1332                  double  aspect;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines