Move set is now a bitset to support large worlds (#5)
Added supporting benchmark
This commit is contained in:
parent
9b4aa025ef
commit
aedb0e34aa
8 changed files with 187 additions and 37 deletions
|
|
@ -2181,7 +2181,7 @@ void b3Solve( b3World* world, b3StepContext* stepContext )
|
|||
B3_ASSERT( B3_PROXY_TYPE( proxyKey ) == b3_dynamicBody );
|
||||
|
||||
// all fast bullet shapes should already be in the move buffer
|
||||
B3_ASSERT( b3ContainsKey( &broadPhase->moveSet, proxyKey + 1 ) );
|
||||
B3_ASSERT( b3GetBit( &broadPhase->movedProxies[b3_dynamicBody], proxyId ) );
|
||||
|
||||
b3DynamicTree_EnlargeProxy( dynamicTree, proxyId, shape->fatAABB );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue