aboutsummaryrefslogtreecommitdiff
path: root/src_testbed
diff options
context:
space:
mode:
authorrezural <rezural@protonmail.com>2020-12-24 19:15:34 +1100
committerrezural <rezural@protonmail.com>2020-12-24 19:15:34 +1100
commitcbe6baced5c36c39a0bd3cb8977c6097249ec5cb (patch)
treed1a40492fc02ced3633f464e7228196c39ce9412 /src_testbed
parentbd6e46cdd928eca854248e95fe04efdc41010248 (diff)
downloadrapier-cbe6baced5c36c39a0bd3cb8977c6097249ec5cb.tar.gz
rapier-cbe6baced5c36c39a0bd3cb8977c6097249ec5cb.tar.bz2
rapier-cbe6baced5c36c39a0bd3cb8977c6097249ec5cb.zip
remove fixme comments
Diffstat (limited to 'src_testbed')
-rw-r--r--src_testbed/testbed.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src_testbed/testbed.rs b/src_testbed/testbed.rs
index 6ae1351..20a9e0a 100644
--- a/src_testbed/testbed.rs
+++ b/src_testbed/testbed.rs
@@ -396,6 +396,7 @@ impl Testbed {
}
fn clear(&mut self, window: &mut Window) {
+ //FIXME: do we need to do this still, after moving to harness code?
self.callbacks.clear();
// self.persistant_contacts.clear();
// self.state.grabbed_object = None;
@@ -1236,7 +1237,6 @@ impl State for Testbed {
if self.state.selected_backend == RAPIER_BACKEND {
self.harness.step();
- //FIXME: this should probably be delegated to harness plugins
for plugin in &mut self.plugins {
plugin.step(&mut self.harness.physics)
}
@@ -1287,7 +1287,6 @@ impl State for Testbed {
}
}
- // FIXME: should this be handled by harness plugins?
for plugin in &mut self.plugins {
{
plugin.run_callbacks(window, &mut self.harness.physics, self.harness.state.time);