# | Line 926 | Line 926 | void write_summary (FILE *f) | |
---|---|---|
926 | case MGF: | |
927 | comstr = "# "; | |
928 | break; | |
929 | + | default: |
930 | + | printf ("Illegal format in write_summary() '%c'\n", format); |
931 | + | exit(1); |
932 | } | |
933 | fprintf (f, "%s Object CenterX CenterY CenterZ LengthX LengthY LengthZ\n", comstr); | |
934 | fprintf (f, "%s ---------- ---------- ---------- ---------- ---------- ---------- ----------\n", comstr); | |
# | Line 1600 | Line 1603 | void write_mgf_material (FILE *f, MatProp *m) | |
1603 | /* Write a mesh file */ | |
1604 | void write_mesh (FILE *f, Mesh *mesh) | |
1605 | { | |
1603 | – | FILE *fi; |
1606 | int i; | |
1607 | char curmat[80]; | |
1608 | Vector va, vb, vc; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |