Add partialeq to integrationparameters (#801)

This commit is contained in:
Thierry Berger
2025-03-10 09:05:34 +01:00
committed by GitHub
parent a8f11b9b9d
commit 2f9d9ba94b
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
## Unreleased
### Added
- `IntegrationParameters` now implements `PartialEq`.
## v0.23.1 (05 March 2025)
### Added

View File

@@ -10,7 +10,7 @@ use super::RigidBodyActivation;
pub(crate) static BLOCK_SOLVER_ENABLED: bool = cfg!(feature = "dim2");
/// Parameters for a time-step of the physics engine.
#[derive(Copy, Clone, Debug)]
#[derive(Copy, Clone, Debug, PartialEq)]
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
pub struct IntegrationParameters {
/// The timestep length (default: `1.0 / 60.0`).