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

Comparing ray/src/cv/mgflib/3ds2mgf.c (file contents):
Revision 1.6 by greg, Fri Feb 28 20:11:29 2003 UTC vs.
Revision 1.8 by greg, Wed Sep 5 01:36:37 2007 UTC

# Line 2 | Line 2
2   static const char       RCSid[] = "$Id$";
3   #endif
4   /*
5 <      3DS2POV.C  Copyright (c) 1996 Steve Anger and Jeff Bowermaster
5 >      3DS2POV.C  by Steve Anger and Jeff Bowermaster
6                          MGF output added by Greg Ward
7  
8        Reads a 3D Studio .3DS file and writes a POV-Ray, Vivid,
# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines