More static queries (#216)
- and a data race fix for it - compare mesh versus heightfield
This commit is contained in:
parent
5d6364d731
commit
a8ac09f364
28 changed files with 486 additions and 183 deletions
|
|
@ -301,8 +301,8 @@ void b3PrepareSphericalJoint( b3JointSim* base, b3StepContext* context )
|
|||
b3Body* bodyB = b3Array_Get( world->bodies, base->bodyIdB );
|
||||
|
||||
B3_ASSERT( bodyA->setIndex == b3_awakeSet || bodyB->setIndex == b3_awakeSet );
|
||||
b3SolverSet* setA = b3Array_Get( world->solverSets, bodyA->setIndex );
|
||||
b3SolverSet* setB = b3Array_Get( world->solverSets, bodyB->setIndex );
|
||||
b3SolverSet* setA = b3GetFixedSolverSet( world, bodyA->setIndex );
|
||||
b3SolverSet* setB = b3GetFixedSolverSet( world, bodyB->setIndex );
|
||||
|
||||
int localIndexA = bodyA->localIndex;
|
||||
int localIndexB = bodyB->localIndex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue