More static queries (#216)

- and a data race fix for it
- compare mesh versus heightfield
This commit is contained in:
Erin Catto 2026-11-11 17:41:42 -08:00 • committed by GitHub
commit a8ac09f364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 486 additions and 183 deletions

View file

@ -298,7 +298,7 @@ void b3WarmStartContacts_Mesh( b3SolverBlock block, b3StepContext* context )
{
b3World* world = context->world;
b3GraphColor* color = world->constraintGraph.colors + block.colorIndex;
b3SolverSet* awakeSet = b3Array_Get( world->solverSets, b3_awakeSet );
b3SolverSet* awakeSet = b3GetSolverSet( world, b3_awakeSet );
b3BodyState* states = awakeSet->bodyStates.data;
b3ContactConstraint* constraints = color->contactConstraints;