comments 2: electric boogaloo

main
Zynh0722 2024-02-17 02:27:32 -08:00
parent 5bba4f019e
commit 1e90b2c514
1 changed files with 2 additions and 0 deletions

View File

@ -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