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

Comparing ray/src/cv/mgf2inv.c (file contents):
Revision 2.1 by greg, Fri Feb 18 00:40:25 2011 UTC vs.
Revision 2.2 by greg, Mon Apr 30 17:02:48 2012 UTC

# Line 29 | Line 29 | static const char      RCSid[] = "$Id$";
29  
30   #define VERTFMT         "%+16.9e %+16.9e %+16.9e\n%+6.3f %+6.3f %+6.3f"
31   #define VZVECT          "+0.000 +0.000 +0.000"
32 #define VFSEPPOS        50      /* position of newline in above */
32   #define VFLEN           72      /* total vertex string length */
33   #define MAXVERT         10240   /* maximum cached vertices */
34  
# Line 529 | Line 528 | to_id(                 /* make sure a name is a valid Inventor ID */
528   void
529   flush_cache(void)                       /* put out cached faces */
530   {
531 +        int     VFSEPPOS = strchr(vlist[0],'\n') - vlist[0];
532          int     donorms = 0;
533          register struct face    *f;
534          register int    i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines