diff --git a/CHANGELOG.md b/CHANGELOG.md index 306c0a3..4bf292c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Unreleased + +### Added + +- `IntegrationParameters` now implements `PartialEq`. + ## v0.23.1 (05 March 2025) ### Added diff --git a/src/dynamics/integration_parameters.rs b/src/dynamics/integration_parameters.rs index 99b6fe4..01e9338 100644 --- a/src/dynamics/integration_parameters.rs +++ b/src/dynamics/integration_parameters.rs @@ -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`).