Optimizations (#161)

- cache body sim indices and split out fat aabb
- deferred restitution
- the manifold point normal velocity is only computed for restitution or
hit events, otherwise it is zero
This commit is contained in:
Erin Catto 2026-09-20 15:54:52 -07:00 • committed by GitHub
commit 9e5a4cde86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
49 changed files with 3395 additions and 864 deletions

View file

@ -51,8 +51,8 @@ typedef struct b3World b3World;
#define B3_REC_VERSION_MAJOR 6
// Minor tracks op-stream additions that keep the 48 byte header shape.
// Minor version 6 moved the broad phase to the tree against tree pair traversal
#define B3_REC_VERSION_MINOR 6
// Minor version 7 made the contact body sim locators persistent
#define B3_REC_VERSION_MINOR 7
// File header, fixed 48 bytes. Contains the registry locator so the player
// can load geometry before replaying any ops.