feat: update to parry 0.21

This commit is contained in:
Sébastien Crozet
2025-05-16 18:23:45 +02:00
committed by Sébastien Crozet
parent b798e1942d
commit ef47848fba
10 changed files with 117 additions and 129 deletions

View File

@@ -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,