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.18 by greg, Tue Jun 3 21:31:51 2025 UTC

# 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