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

@ -159,6 +159,11 @@ static inline bool b3AnyTrueW4( b3FloatW4 mask )
return _mm_movemask_ps( mask ) != 0;
}
static inline int b3MoveMaskW4( b3FloatW4 mask )
{
return _mm_movemask_ps( mask );
}
// component-wise returns mask ? b : a
static inline b3FloatW4 b3BlendW4( b3FloatW4 a, b3FloatW4 b, b3FloatW4 mask )
{