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

Comparing ray/src/util/rpiece.c (file contents):
Revision 2.32 by greg, Thu Nov 30 14:21:48 1995 UTC vs.
Revision 2.33 by gregl, Tue May 20 11:54:55 1997 UTC

# Line 433 | Line 433 | rpiece()                       /* render picture piece by piece */
433          }
434                                          /* render each piece */
435          while (nextpiece(&xorg, &yorg)) {
436 <                pview.hoff = ourview.hoff + xorg - 0.5*(hmult-1);
437 <                pview.voff = ourview.voff + yorg - 0.5*(vmult-1);
436 >                pview.hoff = ourview.hoff*hmult + xorg - 0.5*(hmult-1);
437 >                pview.voff = ourview.voff*vmult + yorg - 0.5*(vmult-1);
438                  fputs(VIEWSTR, torp);
439                  fprintview(&pview, torp);
440                  putc('\n', torp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines