refactor testbed to use harness

This commit is contained in:
rezural
2020-12-24 17:58:37 +11:00
parent fd3b4801b6
commit c56ebcc663
5 changed files with 147 additions and 209 deletions

View File

@@ -1,4 +1,4 @@
use crate::harness::HarnessState;
use crate::harness::RunState;
use crate::physics::PhysicsEvents;
use crate::PhysicsState;
@@ -7,7 +7,7 @@ pub trait HarnessPlugin {
&mut self,
physics: &mut PhysicsState,
events: &PhysicsEvents,
harness_state: &HarnessState,
harness_state: &RunState,
t: f32,
);
fn step(&mut self, physics: &mut PhysicsState);