Skip to content

Commit 79e9de8

Browse files
authored
Merge pull request #589 from whatf0xx/collider-builder-debug
Derived Debug for ColliderBuilder
2 parents 8566750 + 1054894 commit 79e9de8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Add `Multibody::forward_kinematics_single_link` to run forward-kinematics to compute the new pose and jacobian of a
1212
single link without mutating the multibody. This can take an optional displacement on generalized coordinates that are
1313
taken into account during transform propagation.
14+
- Implement `Debug` for `ColliderBuilder`.
1415

1516
### Modified
1617

src/geometry/collider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ impl Collider {
487487
}
488488

489489
/// A structure responsible for building a new collider.
490-
#[derive(Clone)]
490+
#[derive(Clone, Debug)]
491491
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
492492
#[must_use = "Builder functions return the updated builder"]
493493
pub struct ColliderBuilder {

src/geometry/collider_components.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl Default for ColliderBroadPhaseData {
132132
/// The shape of a collider.
133133
pub type ColliderShape = SharedShape;
134134

135-
#[derive(Clone, PartialEq)]
135+
#[derive(Clone, PartialEq, Debug)]
136136
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
137137
/// The mass-properties of a collider.
138138
pub enum ColliderMassProps {

0 commit comments

Comments
 (0)