Skip to content

Commit 2f9d9ba

Browse files
authored
Add partialeq to integrationparameters (#801)
1 parent a8f11b9 commit 2f9d9ba

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Unreleased
2+
3+
### Added
4+
5+
- `IntegrationParameters` now implements `PartialEq`.
6+
17
## v0.23.1 (05 March 2025)
28

39
### Added

src/dynamics/integration_parameters.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use super::RigidBodyActivation;
1010
pub(crate) static BLOCK_SOLVER_ENABLED: bool = cfg!(feature = "dim2");
1111

1212
/// Parameters for a time-step of the physics engine.
13-
#[derive(Copy, Clone, Debug)]
13+
#[derive(Copy, Clone, Debug, PartialEq)]
1414
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
1515
pub struct IntegrationParameters {
1616
/// The timestep length (default: `1.0 / 60.0`).

0 commit comments

Comments
 (0)