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 */ |
33 |
< |
#define VFLEN 72 /* total vertex string length */ |
32 |
> |
#define VFLEN 92 /* total vertex string length */ |
33 |
|
#define MAXVERT 10240 /* maximum cached vertices */ |
34 |
|
|
35 |
|
#define setvkey(k,v) sprintf(k,VERTFMT,(v)->p[0],(v)->p[1],(v)->p[2],\ |
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; |