diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-02-22 15:06:33 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-02-22 15:06:33 +0100 |
| commit | e5c4c2e8ffccf81aa5436c166b426a01b8b8831e (patch) | |
| tree | b01446fb137065141681861ccd151a817e2fab62 /src/dynamics | |
| parent | 0910e3235b348396c7fddd8043043c22aa60673e (diff) | |
| download | rapier-e5c4c2e8ffccf81aa5436c166b426a01b8b8831e.tar.gz rapier-e5c4c2e8ffccf81aa5436c166b426a01b8b8831e.tar.bz2 rapier-e5c4c2e8ffccf81aa5436c166b426a01b8b8831e.zip | |
Ball joint: remove unused field.
Diffstat (limited to 'src/dynamics')
| -rw-r--r-- | src/dynamics/joint/ball_joint.rs | 3 |
1 files changed, 0 insertions, 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<Real>, /// 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, } } |
