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

Comparing ray/src/ot/obj2mesh.c (file contents):
Revision 2.17 by greg, Mon Feb 6 22:40:21 2023 UTC vs.
Revision 2.19 by greg, Sat Jun 7 05:09:46 2025 UTC

# Line 6 | Line 6 | static const char RCSid[] = "$Id$";
6   */
7  
8   #include "copyright.h"
9 < #include "paths.h"
9 >
10   #include "platform.h"
11   #include "standard.h"
12   #include "resolu.h"
# Line 19 | Line 19 | int    o_default() { return(O_MISS); }
19  
20   FUN  ofun[NUMOTYPE] = INIT_OTYPE;       /* needed for link resolution */
21  
22 char  *progname;                        /* argv[0] */
23
22   int  nowarn = 0;                        /* supress warnings? */
23  
24   int  objlim = 9;                        /* # of objects before split */
# Line 43 | Line 41 | main(          /* compile a .OBJ file into a mesh */
41          char  *cp;
42          int  i, j;
43  
44 <        progname = argv[0];
44 >        fixargv0(argv[0]);              /* sets global progname */
45 >
46          ofun[OBJ_FACE].funp = o_face;
47  
48          for (i = 1; i < argc && argv[i][0] == '-'; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines