Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
philiplinden committed Nov 24, 2024
1 parent d3c2f20 commit 2dd349d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/simulator/balloon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use super::{
SimulatedBody,
SimulationUpdateOrder,
ideal_gas::IdealGas,
properties::sphere_radius_from_volume,
};

pub struct BalloonPlugin;
Expand Down Expand Up @@ -74,6 +75,7 @@ impl Default for BalloonMaterial {

fn update_balloon_from_gas(mut query: Query<(&mut Mesh3d, &IdealGas)>) {
for (mut mesh, gas) in query.iter_mut() {
// mesh.volume = gas.volume();
// let new_radius = sphere_radius_from_volume(gas.volume().m3());
// mesh.0.scale = Vec3::new(new_radius, new_radius, new_radius);
}
}

0 comments on commit 2dd349d

Please sign in to comment.