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

Comparing ray/src/rt/rpict.c (file contents):
Revision 1.18 by greg, Wed Feb 21 12:39:37 1990 UTC vs.
Revision 1.19 by greg, Thu Mar 1 08:19:01 1990 UTC

# Line 149 | Line 149 | char  *zfile, *oldfile;
149                                                  /* compute scanlines */
150          for (ypos -= ystep; ypos > -ystep; ypos -= ystep) {
151                                                          /* record progress */
152 <                pctdone = 100.0*(vresolu-ypos-ystep)/vresolu;
152 >                pctdone = 100.0*(vresolu-1-ypos-ystep)/vresolu;
153                                                          /* bottom adjust? */
154                  if (ypos < 0) {
155                          ystep += ypos;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines