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.12 by greg, Fri Mar 26 22:01:44 2021 UTC vs.
Revision 2.13 by greg, Tue Jun 3 21:31:51 2025 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines