Skip to content

Commit

Permalink
remove unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Nov 14, 2024
1 parent 872014f commit f50fb6b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions examples2d/layers2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,7 @@ pub fn init_world(testbed: &mut Testbed) {
plugin.set_fluid_color(fluid_handle, Point3::new(1.0, 0.4, 0.6));

let viscosity = ArtificialViscosity::new(0.5, 0.0);
let mut fluid = Fluid::new(
points3,
PARTICLE_RADIUS,
1.0,
InteractionGroups::none(),
// InteractionGroups::new(Group::GROUP_3, Group::GROUP_3),
);
let mut fluid = Fluid::new(points3, PARTICLE_RADIUS, 1.0, InteractionGroups::none());
fluid.nonpressure_forces.push(Box::new(viscosity.clone()));
let fluid_handle = fluids_pipeline.liquid_world.add_fluid(fluid);
plugin.set_fluid_color(fluid_handle, Point3::new(0.6, 0.8, 0.5));
Expand Down

0 comments on commit f50fb6b

Please sign in to comment.