* feat: switch to the new Bvh from parry for the broad-phase * chore: cargo fmt + update testbed * chore: remove the multi-grid SAP broad-phase * fix soft-ccd handling in broad-phase * Fix contact cleanup in broad-phase after collider removal * chore: clippy fixes * fix CCD regression * chore: update changelog * fix build with the parallel feature enabled * chore: remove the now useless broad-phase proxy index from colliders * fix tests
15 lines
385 B
Rust
15 lines
385 B
Rust
use crate::PhysicsState;
|
|
use crate::harness::RunState;
|
|
use crate::physics::PhysicsEvents;
|
|
|
|
pub trait HarnessPlugin {
|
|
fn run_callbacks(
|
|
&mut self,
|
|
physics: &mut PhysicsState,
|
|
events: &PhysicsEvents,
|
|
harness_state: &RunState,
|
|
);
|
|
fn step(&mut self, physics: &mut PhysicsState, run_state: &RunState);
|
|
fn profiling_string(&self) -> String;
|
|
}
|