add some comments
This commit is contained in:
parent
a6e9e92f8c
commit
86515d49d5
@ -14,6 +14,7 @@ typedef struct {
|
||||
unsigned long reserved;
|
||||
} XYZ;
|
||||
|
||||
/* colors and transparency */
|
||||
typedef struct {
|
||||
float r, g, b, a;
|
||||
unsigned long reserved;
|
||||
@ -22,9 +23,9 @@ typedef struct {
|
||||
typedef struct {
|
||||
XYZ p; /* position */
|
||||
double d; /* diameter */
|
||||
int gray;
|
||||
int gray; /* used as an index */
|
||||
RGBA col;
|
||||
long ttl;
|
||||
long ttl; /* bubulles can be aged */
|
||||
double kvalue; /* wtf ? */
|
||||
} Bubulle;
|
||||
|
||||
|
5
tbb.c
5
tbb.c
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* this is rudimentary test for the bubulles manages
|
||||
* this is rudimentary test for the bubulles manager
|
||||
*
|
||||
* contact: <tth> on IRC freenode#tetalab
|
||||
*/
|
||||
@ -119,15 +119,14 @@ int foo;
|
||||
printf("*** Bubulles Testing -- %s %s\n\n", __DATE__, __TIME__);
|
||||
|
||||
bubulles_version(1);
|
||||
print_sizeof();
|
||||
|
||||
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);
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user