commit du soir, espoir

This commit is contained in:
tTh
2023-04-15 00:56:48 +02:00
parent 300bcfa7a0
commit 02bbdc7249
4 changed files with 84 additions and 4 deletions

View File

@@ -39,8 +39,10 @@ int idx, edg[2];
double coo[3];
int nbre;
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( '%s' %p %p )\n", __func__, filename,
bblist, edges);
#endif
if (NULL==(fp=fopen(filename, "w"))) {
perror(filename);
@@ -52,7 +54,7 @@ fwrite("VERTICES", 8, 1, fp);
nbre = bblist->fidx;
fwrite(&nbre, sizeof(int), 1, fp);
for (idx=0; idx<bblist->fidx; idx++) {
fprintf(stderr, "vertice %d\n", idx);
// fprintf(stderr, "vertice %d\n", idx);
coo[0] = bblist->bbs[idx].p.x;
coo[1] = bblist->bbs[idx].p.y;
coo[2] = bblist->bbs[idx].p.z;