aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/joint/joint.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-02-22 14:20:06 +0100
committerCrozet Sébastien <developer@crozet.re>2021-02-22 14:20:06 +0100
commit0eec28325ecf192f386a6894526e97a462e68802 (patch)
tree3d5a08cc2a0569df703f5e03c7ccbeeab5e30eaa /src/dynamics/joint/joint.rs
parent4c9138fd2b8413a44ea665a2db5d245370ff54fe (diff)
downloadrapier-0eec28325ecf192f386a6894526e97a462e68802.tar.gz
rapier-0eec28325ecf192f386a6894526e97a462e68802.tar.bz2
rapier-0eec28325ecf192f386a6894526e97a462e68802.zip
Fix warnings.
Diffstat (limited to 'src/dynamics/joint/joint.rs')
-rw-r--r--src/dynamics/joint/joint.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dynamics/joint/joint.rs b/src/dynamics/joint/joint.rs
index 290c34c..e0a9d38 100644
--- a/src/dynamics/joint/joint.rs
+++ b/src/dynamics/joint/joint.rs
@@ -130,6 +130,7 @@ pub struct Joint {
}
impl Joint {
+ /// Can this joint use SIMD-accelerated constraint formulations?
pub fn supports_simd_constraints(&self) -> bool {
match &self.params {
JointParams::PrismaticJoint(joint) => joint.supports_simd_constraints(),