From dc8ccc0c30e75aea8f144dbfad16be088d4d4ea2 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Fri, 19 Feb 2021 17:32:09 +0100 Subject: Make revolute joint actuation work properly even when SIMD is enabled. --- src/dynamics/joint/prismatic_joint.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dynamics/joint/prismatic_joint.rs') diff --git a/src/dynamics/joint/prismatic_joint.rs b/src/dynamics/joint/prismatic_joint.rs index 0edc939..6e32a01 100644 --- a/src/dynamics/joint/prismatic_joint.rs +++ b/src/dynamics/joint/prismatic_joint.rs @@ -135,6 +135,11 @@ impl PrismaticJoint { self.local_axis2 } + /// Can a SIMD constraint be used for resolving this joint? + pub fn supports_simd_constraints(&self) -> bool { + true + } + // FIXME: precompute this? #[cfg(feature = "dim2")] pub(crate) fn local_frame1(&self) -> Isometry { -- cgit