impl more traits for components

This commit is contained in:
Waridley
2021-07-10 12:18:21 -05:00
committed by Sébastien Crozet
parent 3b0d256464
commit 9233a855f0
8 changed files with 38 additions and 26 deletions

View File

@@ -7,7 +7,7 @@ use na::Vector2;
#[cfg(feature = "dim3")]
use na::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 translations along one axis.
pub struct PrismaticJoint {