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

Comparing ray/src/cv/bsdfpeaks.c (file contents):
Revision 2.4 by greg, Sun May 25 17:41:10 2025 UTC vs.
Revision 2.6 by greg, Sat Jun 7 05:09:45 2025 UTC

# Line 21 | Line 21 | typedef struct {
21  
22   typedef double  eval_f(const FVECT vin, const FVECT vout, const void *p);
23  
24 char    *progname;              /* needed by bsdfrep.c */
25
24   /* Comparison function to put larger peaks first */
25   int
26   cmpFWHM(const void *p0, const void *p1)
# Line 127 | Line 125 | main(int argc, char *argv[])
125          int             ndirs;
126          FWHM            *peaka;
127          int             i;
128 <
129 <        progname = argv[0];
128 >                                                /* set global progname */
129 >        fixargv0(argv[0]);
130          if (argc < 2)
131                  goto userr;
132  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines