diff options
| author | Waridley <Waridley64@gmail.com> | 2021-03-04 18:05:26 -0600 |
|---|---|---|
| committer | Waridley <Waridley64@gmail.com> | 2021-03-04 18:05:26 -0600 |
| commit | 5592daf7fa982bf2cd8cb582b4ffe595d516fc2a (patch) | |
| tree | 49875fca465ff3b96f7d978b717120179390d6b9 /src | |
| parent | 5079d18bfba8c22a819b16b79a6643be035b9070 (diff) | |
| download | rapier-5592daf7fa982bf2cd8cb582b4ffe595d516fc2a.tar.gz rapier-5592daf7fa982bf2cd8cb582b4ffe595d516fc2a.tar.bz2 rapier-5592daf7fa982bf2cd8cb582b4ffe595d516fc2a.zip | |
Derive Clone for JointSet
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynamics/joint/joint_set.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dynamics/joint/joint_set.rs b/src/dynamics/joint/joint_set.rs index b3a0fd9..2e4b394 100644 --- a/src/dynamics/joint/joint_set.rs +++ b/src/dynamics/joint/joint_set.rs @@ -35,6 +35,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)] /// A set of joints that can be handled by a physics `World`. pub struct JointSet { joint_ids: Arena<TemporaryInteractionIndex>, // Map joint handles to edge ids on the graph. |
