From 9233a855f0fd13e61c475b32117838af95fb4c93 Mon Sep 17 00:00:00 2001 From: Waridley Date: Sat, 10 Jul 2021 12:18:21 -0500 Subject: impl more traits for components --- src/dynamics/joint/revolute_joint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dynamics/joint/revolute_joint.rs') diff --git a/src/dynamics/joint/revolute_joint.rs b/src/dynamics/joint/revolute_joint.rs index d1181e9..d6b030d 100644 --- a/src/dynamics/joint/revolute_joint.rs +++ b/src/dynamics/joint/revolute_joint.rs @@ -3,7 +3,7 @@ use crate::math::{Isometry, Point, Real, Vector}; use crate::utils::WBasis; use na::{RealField, Unit, Vector5}; -#[derive(Copy, Clone)] +#[derive(Copy, Clone, PartialEq)] #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] /// A joint that removes all relative motion between two bodies, except for the rotations along one axis. pub struct RevoluteJoint { -- cgit