Compare commits

...

2 commits

Author SHA1 Message Date
76758fa2a8 removing an inaccurate underscore 2024-02-16 23:14:44 -08:00
d10985909b deleting an old unused comment 2024-02-16 23:14:21 -08:00

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`.
fn update(_app: &App, _model: &mut Model, _update: Update) {
// _model.particles.iter_mut().for_each(|particle| {
// let offset = (_app.time + particle.time_offset).sin() * 100.0;
// particle.pos.x = particle.start_pos.x + offset
// });
_model.engine.step();
fn update(_app: &App, model: &mut Model, _update: Update) {
model.engine.step();
}
// Draw the state of your `Model` into the given `Frame` here.