Compare commits

...

2 Commits

Author SHA1 Message Date
Zynh0722 76758fa2a8 removing an inaccurate underscore 2024-02-16 23:14:44 -08:00
Zynh0722 d10985909b deleting an old unused comment 2024-02-16 23:14:21 -08:00
1 changed files with 2 additions and 7 deletions

View File

@ -103,13 +103,8 @@ fn event(app: &App, model: &mut Model, event: WindowEvent) {
} }
// Update the state of your application here. By default, this gets called right before `view`. // Update the state of your application here. By default, this gets called right before `view`.
fn update(_app: &App, _model: &mut Model, _update: Update) { fn update(_app: &App, model: &mut Model, _update: Update) {
// _model.particles.iter_mut().for_each(|particle| { model.engine.step();
// let offset = (_app.time + particle.time_offset).sin() * 100.0;
// particle.pos.x = particle.start_pos.x + offset
// });
_model.engine.step();
} }
// Draw the state of your `Model` into the given `Frame` here. // Draw the state of your `Model` into the given `Frame` here.