Warning fixes

This commit is contained in:
Sébastien Crozet
2022-07-01 11:57:24 +02:00
parent c9d8277377
commit b9f76e2fda
2 changed files with 4 additions and 1 deletions

View File

@@ -347,8 +347,11 @@ impl ContactManifoldData {
}
}
/// Additional methods for the contact manifold.
pub trait ContactManifoldExt {
/// Computes the sum of all the impulses applied by contacts from this contact manifold.
fn total_impulse(&self) -> Real;
/// Computes the maximum impulse applied by contacts from this contact manifold.
fn max_impulse(&self) -> Real;
}