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

Comparing ray/src/cv/bsdfquery.c (file contents):
Revision 2.11 by greg, Sat Dec 28 18:05:14 2019 UTC vs.
Revision 2.14 by greg, Sat Jun 7 05:09:45 2025 UTC

# Line 16 | Line 16 | static const char RCSid[] = "$Id$";
16   #include "rtio.h"
17   #include "bsdfrep.h"
18  
19 char    *progname;
20
19   /* Read in a vector pair */
20   static int
21   readIOdir(FVECT idir, FVECT odir, FILE *fp, int fmt)
# Line 65 | Line 63 | main(int argc, char *argv[])
63          SDData  myBSDF;
64          FVECT   idir, odir;
65          int     n;
66 +                                                /* set global progname */
67 +        fixargv0(argv[0]);
68                                                  /* check arguments */
69        progname = argv[0];
69          while (argc > 2 && argv[1][0] == '-') {
70                  switch (argv[1][1]) {
71 <                case 'u':                       /* unbuffered output */\
71 >                case 'u':                       /* unbuffered output */
72                          unbuffered = 1;
73                          break;
74                  case 'c':                       /* color output */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines