Skip to content

Commit

Permalink
Fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
tychedelia committed Sep 10, 2024
1 parent 69012ca commit 1db0e1e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/compute/particle_sdf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ fn update(app: &App, model: &mut Model) {
model.scaling_factor = model.scaling_factor.saturating_sub(1).max(20);
}


let pixels = app.main_window().size_pixels().element_product();
let new_size = pixels / model.scaling_factor.clamp(20, 1000);

Expand Down

0 comments on commit 1db0e1e

Please sign in to comment.