Name cache (#53)
Removed B3_BODY_NAME_LENGTH and B3_SHAPE_NAME_LENGTH. Now using a name cache instead to save memory and make recordings more universal. This is a recording version bump.
This commit is contained in:
parent
540ea387b0
commit
52f1a254ad
31 changed files with 759 additions and 824 deletions
|
|
@ -62,9 +62,6 @@ b3DynamicTree b3DynamicTree_Create( int proxyCapacity )
|
|||
|
||||
tree.nodes = (b3TreeNode*)b3Alloc( tree.nodeCapacity * sizeof( b3TreeNode ) );
|
||||
|
||||
// Better to have 64 byte alignment
|
||||
B3_VALIDATE( ( (uintptr_t)tree.nodes & 0x3F ) == 0 );
|
||||
|
||||
memset( tree.nodes, 0, tree.nodeCapacity * sizeof( b3TreeNode ) );
|
||||
|
||||
// Build a linked list for the free list.
|
||||
|
|
|
|||
Loading…
Reference in a new issue