Impl Default for a few structs
This commit is contained in:
committed by
Sébastien Crozet
parent
936f655c67
commit
7aa94e994f
@@ -37,7 +37,7 @@ pub(crate) type JointIndex = usize;
|
||||
pub(crate) type JointGraphEdge = crate::data::graph::Edge<Joint>;
|
||||
|
||||
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Default)]
|
||||
/// A set of joints that can be handled by a physics `World`.
|
||||
pub struct JointSet {
|
||||
rb_graph_ids: Coarena<RigidBodyGraphIndex>,
|
||||
|
||||
Reference in New Issue
Block a user