diff options
Diffstat (limited to 'src/sim/particle_manager')
| -rw-r--r-- | src/sim/particle_manager/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/particle_manager/mod.rs b/src/sim/particle_manager/mod.rs index e5e47eb..8ecf6f5 100644 --- a/src/sim/particle_manager/mod.rs +++ b/src/sim/particle_manager/mod.rs @@ -1,5 +1,5 @@ use crate::{ - config::PIXELS_TO_METRES, + config::CELLS_TO_METRES, sim::{ cell::{cell::Cell, materials::MaterialForm}, cell_manager::manager::CellManager, @@ -14,7 +14,7 @@ pub struct ParticleManager { pub particles: Vec<Particle>, } -const PARTICLE_GRAVITY: f32 = 9.81 * PIXELS_TO_METRES; +const PARTICLE_GRAVITY: f32 = 9.81 * CELLS_TO_METRES; impl ParticleManager { pub fn tick(&mut self, world: &mut CellManager, delta_time: f32) { |
