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

Comparing ray/src/hd/rhpict.c (file contents):
Revision 3.22 by greg, Mon Feb 6 22:40:21 2023 UTC vs.
Revision 3.26 by greg, Wed Jul 2 16:54:44 2025 UTC

# Line 6 | Line 6 | static const char      RCSid[] = "$Id$";
6   */
7  
8   #include <string.h>
9
9   #include "platform.h"
10   #include "rterror.h"
11   #include "rholo.h"
12  
14 char    *progname;              /* our program name */
13   char    *hdkfile;               /* holodeck file name */
14   char    gargc;                  /* global argc */
15   char    **gargv;                /* global argv */
# Line 50 | Line 48 | char   *argv[]
48          int     i, rval;
49  
50          gargc = argc; gargv = argv;
51 <        progname = argv[0];                     /* get arguments */
51 >        fixargv0(argv[0]);                      /* get arguments */
52          for (i = 1; i < argc && argv[i][0] == '-'; i++) {
53                  rval = getviewopt(&myview, argc-i, argv+i);
54                  if (rval >= 0) {                /* view option */
# Line 230 | Line 228 | startpicture(          /* initialize picture for rendering & o
228          fputs(VIEWSTR, stdout);
229          fprintview(&myview, stdout);
230          fputc('\n', stdout);
231 <        if ((pa < 0.99) | (pa > 1.01))
231 >        if ((pa < 0.995) | (pa > 1.005))
232                  fputaspect(pa, stdout);
233          if ((expval < 0.99) | (expval > 1.01))
234                  fputexpos(expval, stdout);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines