diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..627be9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ + +*.o + +tbb + diff --git a/bubulles.h b/bubulles.h index 92901a4..8b1fd0e 100644 --- a/bubulles.h +++ b/bubulles.h @@ -4,10 +4,11 @@ /* --------------------------------------------------------------------- */ -#define LIBBB_VERSION 40 +#define LIBBB_VERSION 48 #define SZ_BUBULLE_TEXT 51 /* arbitrary value */ +/* a 3d space coordinate */ typedef struct { double x, y, z; unsigned long reserved; @@ -54,7 +55,7 @@ int niceprint_bubulle(Bubulle *what, int unused); int bubulles_to_data(char *fname, char *title, BBList *bbl, int k); /* --------------------------------------------------------------------- */ - +/* sometime we want to look at the bounding box */ typedef struct { double minX, minY, minZ; double maxX, maxY, maxZ; diff --git a/tbb.c b/tbb.c index ecef4d3..1ed9251 100644 --- a/tbb.c +++ b/tbb.c @@ -101,11 +101,13 @@ int main(int argc, char *argv[]) { int foo; +printf("*** Bubulles Testing -- %s %s\n", __DATE__, __TIME__); + bubulles_version(0); -// test_alloc_free(5); -// test_push_pop(2000); -// test_cleanfill_my_bublist(999); +test_alloc_free(5); +test_push_pop(2000); +test_cleanfill_my_bublist(999); foo = test_peek_poke(5000); fprintf(stderr, "test peek/poke -> %d\n", foo);