Fix physics_2d example
This commit is contained in:
parent
cec776df8a
commit
95cc39421d
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ struct physics_2d_app
|
|||
// physics.add_object(ball_group, ball_shape, material, {simulation_box.corner(0.5f, 0.9f), 0.f}, {});
|
||||
// });
|
||||
|
||||
loop.dispatch_at(async::executor::clock::now() + std::chrono::seconds{1}, [this]{
|
||||
loop.dispatch_at(async::clock::now() + std::chrono::seconds{1}, [this]{
|
||||
physics.explode(simulation_box.corner(0.5f, -0.2f), 1000.f, 100.f);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue