From e5c4c2e8ffccf81aa5436c166b426a01b8b8831e Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Mon, 22 Feb 2021 15:06:33 +0100 Subject: Ball joint: remove unused field. --- src/dynamics/joint/ball_joint.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/dynamics/joint/ball_joint.rs b/src/dynamics/joint/ball_joint.rs index 8481961..01b0f7f 100644 --- a/src/dynamics/joint/ball_joint.rs +++ b/src/dynamics/joint/ball_joint.rs @@ -38,8 +38,6 @@ pub struct BallJoint { pub motor_impulse: Vector, /// The spring-like model used by the motor to reach the target velocity and . pub motor_model: SpringModel, - // Used to handle cases where the position target ends up being more than pi radians away. - pub(crate) motor_last_angle: Real, } impl BallJoint { @@ -64,7 +62,6 @@ impl BallJoint { motor_impulse: na::zero(), motor_max_impulse: Real::MAX, motor_model: SpringModel::default(), - motor_last_angle: 0.0, } } -- cgit