aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-11-03 14:43:21 +0100
committerCrozet Sébastien <developer@crozet.re>2020-11-03 14:43:21 +0100
commit0cf59d78bda1669226f861e438d43a08b099d747 (patch)
tree001d68cfa4aea673b73f69d2f95f549a675ac195 /src/dynamics
parent036a24614171eff0f99495b8b6f1c09e58cb4f9a (diff)
downloadrapier-0cf59d78bda1669226f861e438d43a08b099d747.tar.gz
rapier-0cf59d78bda1669226f861e438d43a08b099d747.tar.bz2
rapier-0cf59d78bda1669226f861e438d43a08b099d747.zip
Implement Clone for everything that can be cloned.
Diffstat (limited to 'src/dynamics')
-rw-r--r--src/dynamics/rigid_body_set.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dynamics/rigid_body_set.rs b/src/dynamics/rigid_body_set.rs
index 2efc2cf..f7064ed 100644
--- a/src/dynamics/rigid_body_set.rs
+++ b/src/dynamics/rigid_body_set.rs
@@ -75,6 +75,7 @@ impl BodyPair {
}
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
+#[derive(Clone)]
/// A set of rigid bodies that can be handled by a physics pipeline.
pub struct RigidBodySet {
// NOTE: the pub(crate) are needed by the broad phase