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

Comparing ray/src/cv/mgflib/mgf2inv.c (file contents):
Revision 1.6 by greg, Tue Mar 18 11:05:43 1997 UTC vs.
Revision 1.7 by gregl, Thu May 22 08:41:04 1997 UTC

# Line 24 | Line 24 | static char SCCSid[] = "$SunId$ LBL";
24  
25   #define O_INV1          1       /* Inventor 1.0 output */
26   #define O_INV2          2       /* Inventor 2.0 output */
27 < #define O_VRML          3       /* VRML output */
27 > #define O_VRML1         3       /* VRML 1.0 output */
28  
29   #define MAXID           48      /* maximum identifier length */
30  
# Line 99 | Line 99 | char   *argv[];
99                                  /* get options and print format line */
100          for (i = 1; i < argc && argv[i][0] == '-'; i++)
101                  if (!strcmp(argv[i], "-vrml"))
102 <                        outtype = O_VRML;
102 >                        outtype = O_VRML1;
103                  else if (!strcmp(argv[i], "-1"))
104                          outtype = O_INV1;
105                  else if (!strcmp(argv[i], "-2"))
# Line 113 | Line 113 | char   *argv[];
113          case O_INV2:
114                  printf("#Inventor V2.0 ascii\n");
115                  break;
116 <        case O_VRML:
117 <                printf("#VRML 1.0 ascii\n");
116 >        case O_VRML1:
117 >                printf("#VRML V1.0 ascii\n");
118                  break;
119          }
120          printf("## Translated from MGF Version %d.%d\n", MG_VMAJOR, MG_VMINOR);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines