Compare commits
No commits in common. "407818cb34827ea175792f1ce46967153c741c10" and "ba01f62983c69da42ef8c3bc1e36946e81924b34" have entirely different histories.
407818cb34
...
ba01f62983
@ -139,7 +139,7 @@ fprintf(stderr, "%s : %p --> %p\n", __func__, what, where);
|
|||||||
fprintf(stderr, "XYZ %f %f %f\n", what->p.x, what->p.y, what->p.z);
|
fprintf(stderr, "XYZ %f %f %f\n", what->p.x, what->p.y, what->p.z);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (where->fidx >= where->size) {
|
if (where->fidx > where->size) {
|
||||||
/* this is a very bad fatal error */
|
/* this is a very bad fatal error */
|
||||||
fprintf(stderr, "%s : overflow in BBList at %p\n", __func__, where);
|
fprintf(stderr, "%s : overflow in BBList at %p\n", __func__, where);
|
||||||
#if MUST_ABORT
|
#if MUST_ABORT
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
#define LIBBB_VERSION 54
|
#define LIBBB_VERSION 53
|
||||||
|
|
||||||
#define SZ_BUBULLE_TEXT 51 /* arbitrary value */
|
#define SZ_BUBULLE_TEXT 51 /* arbitrary value */
|
||||||
|
|
||||||
|
@ -57,15 +57,16 @@ while(cptr=fgets(line, LINE_SZ, fpin)) {
|
|||||||
foo = sscanf(cptr, "%f", &z);
|
foo = sscanf(cptr, "%f", &z);
|
||||||
|
|
||||||
memset(&bubulle, 0, sizeof(Bubulle));
|
memset(&bubulle, 0, sizeof(Bubulle));
|
||||||
|
niceprint_bubulle(&bubulle, 0);
|
||||||
|
|
||||||
bubulle.p.x = x;
|
bubulle.p.x = x;
|
||||||
bubulle.p.y = y;
|
bubulle.p.y = y;
|
||||||
bubulle.p.z = z;
|
bubulle.p.z = z;
|
||||||
if (verbosity > 1) niceprint_bubulle(&bubulle, 0);
|
niceprint_bubulle(&bubulle, 0);
|
||||||
|
|
||||||
foo = push_bubulle(bublist, &bubulle);
|
foo = push_bubulle(bublist, &bubulle);
|
||||||
if (foo) {
|
if (foo) {
|
||||||
fprintf(stderr, "%s: err %d on push\n", __func__, foo);
|
fprintf(stderr, "err %d on push\n", foo);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
nbre++;
|
nbre++;
|
||||||
@ -76,8 +77,6 @@ if(verbosity) {
|
|||||||
fprintf(stderr, "%s : %d vertices loaded\n", __func__, nbre);
|
fprintf(stderr, "%s : %d vertices loaded\n", __func__, nbre);
|
||||||
}
|
}
|
||||||
|
|
||||||
bubulles_to_data("xyz", NULL, bublist, 0);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user