comments 2: electric boogaloo
This commit is contained in:
parent
5bba4f019e
commit
1e90b2c514
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ fn event(app: &App, model: &mut Model, event: WindowEvent) {
|
|||
}
|
||||
|
||||
if let Resized(_) = event {
|
||||
// Rust borrowing rules means I need to first gather a list of handles,
|
||||
// then delete them all
|
||||
let handles: Vec<RigidBodyHandle> = model
|
||||
.engine
|
||||
.state
|
||||
|
|
Loading…
Reference in a new issue