Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates 20231223 #559

Merged
merged 3 commits into from
Dec 27, 2023
Merged

Updates 20231223 #559

merged 3 commits into from
Dec 27, 2023

Conversation

louis-langholtz
Copy link
Owner

Description - What's this PR do?

Basically moves contact updating out from being only done when the time delta is not zero so that both contacts and manifolds can be made available with a zero delta time call of the world Step function. Also adds more == & != support - adding these for the PreStepStats, RegStepStats, and ToiStepStats types.

- Sets the new PreStepStats::proxiesCreated member variable.
- Does world.UpdateContacts(conf) handling for any deltaTime; not just
  when not equal to zero. This means contacts & related manifolds are
  setup and no longer need updating for a zero time delta as well as any
  non-zero delta.
- Related unit test updates including addition of
  World.TouchingBodiesWithZeroDeltaTime test to confirm zero delta time
  behavior for world setup with two touching bodies.
@louis-langholtz louis-langholtz added Enhancement For suggestions or changes that enhance any part of the project and isn't a bug. Library For issues that effect the library and aren't specific to any particular application. labels Dec 27, 2023
@louis-langholtz louis-langholtz added this to the 2.0 Release milestone Dec 27, 2023
@louis-langholtz louis-langholtz self-assigned this Dec 27, 2023
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@coveralls
Copy link

Coverage Status

coverage: 99.303% (+0.002%) from 99.301%
when pulling a49cab0 on updates-20231223
into a3d3534 on master.

@louis-langholtz louis-langholtz merged commit 9b8e702 into master Dec 27, 2023
19 checks passed
@louis-langholtz louis-langholtz deleted the updates-20231223 branch December 27, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For suggestions or changes that enhance any part of the project and isn't a bug. Library For issues that effect the library and aren't specific to any particular application.
Development

Successfully merging this pull request may close these issues.

2 participants