cargo fmt

This commit is contained in:
rezural
2020-12-21 04:33:25 +11:00
parent be07227e94
commit 16720918aa
4 changed files with 15 additions and 13 deletions

View File

@@ -1,10 +1,16 @@
use crate::harness::HarnessState;
use crate::PhysicsState;
use crate::physics::PhysicsEvents;
use crate::PhysicsState;
pub trait HarnessPlugin {
//FIXME: is run_callbacks needed?
fn run_callbacks(&mut self, physics: &mut PhysicsState, events: &PhysicsEvents, harness_state: &HarnessState, t: f32);
fn run_callbacks(
&mut self,
physics: &mut PhysicsState,
events: &PhysicsEvents,
harness_state: &HarnessState,
t: f32,
);
fn step(&mut self, physics: &mut PhysicsState);
fn profiling_string(&self) -> String;
}
}