Friction center weighted average (#71)

The central friction anchors now have C0 continuity by using a weighted
average. Reduces jitter while letting the spinning top function
correctly.

Fixes #65
This commit is contained in:
Erin Catto 2026-07-11 23:26:31 -07:00 • committed by GitHub
commit e961bfb7bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 136 additions and 102 deletions

View file

@ -517,7 +517,7 @@ typedef struct b3Thread
char name[NAME_LENGTH];
} b3Thread;
// macOS pthread_setname_np takes only the name — it always names the calling thread.
// macOS pthread_setname_np takes only the name, it always names the calling thread.
static void b3SetCurrentThreadName( const char* name )
{
if ( name == NULL || name[0] == 0 )