diff --git a/src/dynamics/joint/groove_joint.rs b/src/dynamics/joint/groove_joint.rs index fa84b081..0b7c6047 100644 --- a/src/dynamics/joint/groove_joint.rs +++ b/src/dynamics/joint/groove_joint.rs @@ -1,4 +1,7 @@ -use crate::dynamics::joint::{GenericJoint, GenericJointBuilder, JointAxesMask}; +#[cfg(feature = "dim2")] +use crate::dynamics::joint::{GenericJointBuilder, JointAxesMask}; + +use crate::dynamics::joint::GenericJoint; use crate::dynamics::{JointAxis, MotorModel}; use crate::math::{Point, Real, UnitVector};