libanim
annotate src/dynarr.h @ 9:710658962108
simplified the matrix calculation and removed two quaternion normalizations that were probably not needed
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 08 Mar 2013 04:54:05 +0200 |
parents | |
children | 60a46a122b0f |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef DYNARR_H_ |
nuclear@0 | 2 #define DYNARR_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 void *dynarr_alloc(int elem, int szelem); |
nuclear@0 | 5 void dynarr_free(void *da); |
nuclear@0 | 6 void *dynarr_resize(void *da, int elem); |
nuclear@0 | 7 |
nuclear@0 | 8 int dynarr_empty(void *da); |
nuclear@0 | 9 int dynarr_size(void *da); |
nuclear@0 | 10 |
nuclear@0 | 11 /* stack semantics */ |
nuclear@0 | 12 void *dynarr_push(void *da, void *item); |
nuclear@0 | 13 void *dynarr_pop(void *da); |
nuclear@0 | 14 |
nuclear@0 | 15 |
nuclear@0 | 16 #endif /* DYNARR_H_ */ |