CMake improvements (#201)

- Update CMake to parity with Box2D. Removed BOX3D_AVX2 due to runtime
dispatch.
- CI fixes for ubuntu
- Doxygen refresh from Box2D
This commit is contained in:
Erin Catto 2026-10-20 15:15:20 -07:00 • committed by GitHub
commit f36d061ba2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 724 additions and 251 deletions

View file

@ -106,6 +106,8 @@ static void b3IntegrateVelocitiesTask( b3SolverBlock block, b3StepContext* conte
// I * (w2 - w1) + h * cross(w2, I * w2) = 0
// This is all done in local coordinates where the Jacobian is easier to compute.
// This improves the simulation of long skinny bodies.
// If the principal inertia values of I are roughly equal (isotropic) then
// cross(w2, I * w2) ~= 0, so this can be skipped.
if ( sim->flags & b3_enableGyroscopicTorque )
{
// Get current rotation.