make examples compile, code that accessed window & graphics via the callback is currently disabled, until that is added back in
This commit is contained in:
@@ -44,7 +44,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
let mut step = 0;
|
||||
let snapped_frame = 51;
|
||||
|
||||
testbed.add_callback(move |_, physics, _, _, _| {
|
||||
testbed.harness_mut().add_callback(move |physics, _, _, _| {
|
||||
step += 1;
|
||||
|
||||
// Snap the ball velocity or restore it.
|
||||
|
||||
Reference in New Issue
Block a user