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:
parent
efca0c184d
commit
f36d061ba2
21 changed files with 724 additions and 251 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue