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

Comparing ray/src/util/ranimate.c (file contents):
Revision 2.15 by greg, Mon Jun 24 09:19:36 1996 UTC vs.
Revision 2.16 by greg, Thu Jun 27 06:49:50 1996 UTC

# Line 482 | Line 482 | animate()                      /* run animation */
482          i = sscanf(vval(RESOLUTION), "%d %d %f", &xres, &yres, &pa);
483          mult = vflt(OVERSAMP);
484          if (i == 3) {
485 <                sprintf(rresopt, "-x %d -y %d -pa %f", (int)(mult*xres),
485 >                sprintf(rresopt, "-x %d -y %d -pa %.3f", (int)(mult*xres),
486                                  (int)(mult*yres), pa);
487 <                sprintf(fresopt, "-x %d -y %d -pa %f", xres, yres, pa);
487 >                sprintf(fresopt, "-x %d -y %d -pa %.3f", xres, yres, pa);
488          } else if (i) {
489                  if (i == 1) yres = xres;
490                  sprintf(rresopt, "-x %d -y %d", (int)(mult*xres),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines