Tree perf (#179)

- Optimizations for falling trees.
- Increased B3_MAX_MESH_CONTACT_TRIANGLES  from 256 to 512.
This commit is contained in:
Erin Catto 2026-10-06 09:51:48 -07:00 • committed by GitHub
commit 16f7f4cf4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 1926 additions and 1110 deletions

View file

@ -91,3 +91,30 @@ void b3SolveContacts_ConvexW8( b3SolverBlock block, b3StepContext* context );
void b3ApplyRestitution_ConvexW8( b3SolverBlock block, b3StepContext* context );
void b3StoreImpulses_ConvexW8( b3SolverBlock block, b3StepContext* context, int workerIndex );
int b3GetWideContactConstraintByteCountW8( void );
void b3PrepareContacts_MeshWide( b3SolverBlock block, b3StepContext* context );
void b3WarmStartContacts_MeshWide( b3SolverBlock block, b3StepContext* context );
void b3PushContacts_MeshWide( b3SolverBlock block, b3StepContext* context );
void b3SolveContacts_MeshWide( b3SolverBlock block, b3StepContext* context );
void b3ApplyRestitution_MeshWide( b3SolverBlock block, b3StepContext* context );
void b3StoreImpulses_MeshWide( b3SolverBlock block, b3StepContext* context, int workerIndex );
int b3GetWideMeshConstraintByteCount( int simdWidth );
int b3GetWideMeshManifoldByteCount( int simdWidth );
void b3PrepareContacts_MeshWideW4( b3SolverBlock block, b3StepContext* context );
void b3WarmStartContacts_MeshWideW4( b3SolverBlock block, b3StepContext* context );
void b3PushContacts_MeshWideW4( b3SolverBlock block, b3StepContext* context );
void b3SolveContacts_MeshWideW4( b3SolverBlock block, b3StepContext* context );
void b3ApplyRestitution_MeshWideW4( b3SolverBlock block, b3StepContext* context );
void b3StoreImpulses_MeshWideW4( b3SolverBlock block, b3StepContext* context, int workerIndex );
int b3GetWideMeshConstraintByteCountW4( void );
int b3GetWideMeshManifoldByteCountW4( void );
void b3PrepareContacts_MeshWideW8( b3SolverBlock block, b3StepContext* context );
void b3WarmStartContacts_MeshWideW8( b3SolverBlock block, b3StepContext* context );
void b3PushContacts_MeshWideW8( b3SolverBlock block, b3StepContext* context );
void b3SolveContacts_MeshWideW8( b3SolverBlock block, b3StepContext* context );
void b3ApplyRestitution_MeshWideW8( b3SolverBlock block, b3StepContext* context );
void b3StoreImpulses_MeshWideW8( b3SolverBlock block, b3StepContext* context, int workerIndex );
int b3GetWideMeshConstraintByteCountW8( void );
int b3GetWideMeshManifoldByteCountW8( void );