comments 2: electric boogaloo
parent
5bba4f019e
commit
1e90b2c514
|
@ -97,6 +97,8 @@ fn event(app: &App, model: &mut Model, event: WindowEvent) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Resized(_) = event {
|
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
|
let handles: Vec<RigidBodyHandle> = model
|
||||||
.engine
|
.engine
|
||||||
.state
|
.state
|
||||||
|
|
Loading…
Reference in New Issue