stepNormalImpulse sums the impulse applied after each relax pass, which is
the step impulse only with one relax iteration. Also indents two stray
column-0 lines of the previous commit.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Adds b3ManifoldPoint.stepNormalImpulse: the impulse each sub-step applied
(accumulated after the relax pass, plus restitution's delta), summed over the
step, in the scalar and SIMD solver paths. Exact only while RELAX_ITERATIONS
is 1. GameCult fork for Ymir (lodur:ruling:ymir-box3d-fork); upstream is
erincatto/box3d.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fixes to work with our game.
Replay fixes and improvements.
Removed shape names (save memory).
B3_DEFAULT_CATEGORY_BITS is now UINT64_MAX to make selection easier.
Added a compile time option to use double precision body positions. Most
math remains single precision with minimal performance loss.
`BOX3D_DOUBLE_PRECISION`
Improved accuracy of body inertia computation when shapes are far from
the body origin.
WARNING: several APIs changed but migration should be straight forward
if doubles are not enabled.
Save memory when there are many duplicate hulls. Can improve performance
in some cases.
For consistency with b3MeshData, b3Hull is renamed to b3HullData.
- Fixed mesh point culling for vertically stacked points
- Fixed two point capsule vs capsule normal
- Fixed bug where body flags can go out of sync
- Added tests
- Updated benchmarks
- API to query compounds directly.
- Fix some uninitialized stuff (thanks MSAN).
- Fix for store impulses on overflow.
- AABB margin reduced for small shapes
- body contact recycling option
- angular threshold for contact recycling
- reduce AABB margin on smaller shapes
- fix for hull vs tri when axis aligned
- fully locked rotation uses zero inverse inertia