Warning fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ use crate::geometry::{
|
||||
ContactManifoldIndex, NarrowPhase, TemporaryInteractionIndex,
|
||||
};
|
||||
use crate::math::{Real, Vector};
|
||||
use crate::pipeline::{ActiveEvents, EventHandler, PhysicsHooks};
|
||||
use crate::pipeline::{EventHandler, PhysicsHooks};
|
||||
use {crate::dynamics::RigidBodySet, crate::geometry::ColliderSet};
|
||||
|
||||
/// The physics pipeline, responsible for stepping the whole physics simulation.
|
||||
|
||||
Reference in New Issue
Block a user