Merge pull request #589 from whatf0xx/collider-builder-debug
Derived Debug for ColliderBuilder
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
- Add `Multibody::forward_kinematics_single_link` to run forward-kinematics to compute the new pose and jacobian of a
|
- Add `Multibody::forward_kinematics_single_link` to run forward-kinematics to compute the new pose and jacobian of a
|
||||||
single link without mutating the multibody. This can take an optional displacement on generalized coordinates that are
|
single link without mutating the multibody. This can take an optional displacement on generalized coordinates that are
|
||||||
taken into account during transform propagation.
|
taken into account during transform propagation.
|
||||||
|
- Implement `Debug` for `ColliderBuilder`.
|
||||||
|
|
||||||
### Modified
|
### Modified
|
||||||
|
|
||||||
|
|||||||
@@ -487,7 +487,7 @@ impl Collider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A structure responsible for building a new collider.
|
/// A structure responsible for building a new collider.
|
||||||
#[derive(Clone)]
|
#[derive(Clone, Debug)]
|
||||||
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||||
#[must_use = "Builder functions return the updated builder"]
|
#[must_use = "Builder functions return the updated builder"]
|
||||||
pub struct ColliderBuilder {
|
pub struct ColliderBuilder {
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ impl Default for ColliderBroadPhaseData {
|
|||||||
/// The shape of a collider.
|
/// The shape of a collider.
|
||||||
pub type ColliderShape = SharedShape;
|
pub type ColliderShape = SharedShape;
|
||||||
|
|
||||||
#[derive(Clone, PartialEq)]
|
#[derive(Clone, PartialEq, Debug)]
|
||||||
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||||
/// The mass-properties of a collider.
|
/// The mass-properties of a collider.
|
||||||
pub enum ColliderMassProps {
|
pub enum ColliderMassProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user