Hull sharing (#13)
Save memory when there are many duplicate hulls. Can improve performance in some cases. For consistency with b3MeshData, b3Hull is renamed to b3HullData.
This commit is contained in:
parent
d8fbeb444e
commit
a252f03b19
66 changed files with 881 additions and 549 deletions
|
|
@ -19,7 +19,7 @@ b3DeclareArray( b3Block );
|
|||
|
||||
typedef struct b3BlockAllocator
|
||||
{
|
||||
b3ArrayC( b3Block ) blocks;
|
||||
b3Array( b3Block ) blocks;
|
||||
void* freeList;
|
||||
int elementSize;
|
||||
int nextIndex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue