feat: update to parry 0.21
This commit is contained in:
committed by
Sébastien Crozet
parent
b798e1942d
commit
ef47848fba
@@ -738,7 +738,6 @@ impl RigidBodyVelocity {
|
||||
impl std::ops::Mul<Real> for RigidBodyVelocity {
|
||||
type Output = Self;
|
||||
|
||||
#[must_use]
|
||||
fn mul(self, rhs: Real) -> Self {
|
||||
RigidBodyVelocity {
|
||||
linvel: self.linvel * rhs,
|
||||
@@ -750,7 +749,6 @@ impl std::ops::Mul<Real> for RigidBodyVelocity {
|
||||
impl std::ops::Add<RigidBodyVelocity> for RigidBodyVelocity {
|
||||
type Output = Self;
|
||||
|
||||
#[must_use]
|
||||
fn add(self, rhs: Self) -> Self {
|
||||
RigidBodyVelocity {
|
||||
linvel: self.linvel + rhs.linvel,
|
||||
@@ -769,7 +767,6 @@ impl std::ops::AddAssign<RigidBodyVelocity> for RigidBodyVelocity {
|
||||
impl std::ops::Sub<RigidBodyVelocity> for RigidBodyVelocity {
|
||||
type Output = Self;
|
||||
|
||||
#[must_use]
|
||||
fn sub(self, rhs: Self) -> Self {
|
||||
RigidBodyVelocity {
|
||||
linvel: self.linvel - rhs.linvel,
|
||||
|
||||
Reference in New Issue
Block a user