Add partialeq to integrationparameters (#801)
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## Unreleased
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- `IntegrationParameters` now implements `PartialEq`.
|
||||||
|
|
||||||
## v0.23.1 (05 March 2025)
|
## v0.23.1 (05 March 2025)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ use super::RigidBodyActivation;
|
|||||||
pub(crate) static BLOCK_SOLVER_ENABLED: bool = cfg!(feature = "dim2");
|
pub(crate) static BLOCK_SOLVER_ENABLED: bool = cfg!(feature = "dim2");
|
||||||
|
|
||||||
/// Parameters for a time-step of the physics engine.
|
/// 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))]
|
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||||
pub struct IntegrationParameters {
|
pub struct IntegrationParameters {
|
||||||
/// The timestep length (default: `1.0 / 60.0`).
|
/// The timestep length (default: `1.0 / 60.0`).
|
||||||
|
|||||||
Reference in New Issue
Block a user