Optimizations (#168)

- Optimize contact prepare
- Back to post restitution stage
- Optimize solver math
- Bug fixes
This commit is contained in:
Erin Catto 2026-09-24 12:21:17 -07:00 • committed by GitHub
commit 79fc55976a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 3248 additions and 1519 deletions

View file

@ -235,6 +235,8 @@ typedef struct b3World
b3Vec3 gravity;
float hitEventThreshold;
float restitutionThreshold;
int restitutionIterations;
bool enableRestitutionPropagation;
float maxLinearSpeed;
float contactSpeed;
float contactHertz;
@ -301,6 +303,8 @@ b3World* b3GetWorldFromId( b3WorldId id );
b3World* b3GetUnlockedWorld( int index );
b3World* b3GetWorld( int index );
void b3World_RebuildStaticTree( b3WorldId worldId );
void b3ValidateConnectivity( b3World* world );
void b3ValidateSolverSets( b3World* world );
void b3ValidateContacts( b3World* world );