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

Comparing ray/src/rt/rv2.c (file contents):
Revision 1.10 by greg, Thu Jul 27 22:58:26 1989 UTC vs.
Revision 1.11 by greg, Wed Sep 13 13:40:13 1989 UTC

# Line 676 | Line 676 | char  *s;
676                                                  /* write header */
677          fputs(progname, fp);
678          fprintview(&ourview, fp);
679 <        fputs("\n", fp);
679 >        putc('\n', fp);
680          if (exposure != 1.0)
681                  fprintf(fp, "EXPOSURE=%e\n", exposure);
682 <        fprintf(fp, "\n-Y %d +X %d\n", ourview.vresolu, ourview.hresolu);
682 >        putc('\n', fp);
683 >        fputresolu(YMAJOR|YDECR, ourview.hresolu, ourview.vresolu, fp);
684  
685          scanline = (COLR *)malloc(ourview.hresolu*sizeof(COLR));
686          if (scanline == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines