diff options
| author | Kai Stevenson <kai@kaistevenson.com> | 2026-08-22 15:00:35 -0700 |
|---|---|---|
| committer | Kai Stevenson <kai@kaistevenson.com> | 2026-08-22 15:00:35 -0700 |
| commit | 1a515237afb7ad09353a65f5fbc6e98a7c29ce8e (patch) | |
| tree | 48cd4b4bcf8f8e357811f905f22607838d7c1f96 /src/sim/particle_sim/particle.rs | |
| parent | 6350e4ffca8ce1e46465284ef3d7559e0f40229b (diff) | |
sim manager refactor
Diffstat (limited to 'src/sim/particle_sim/particle.rs')
| -rw-r--r-- | src/sim/particle_sim/particle.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/sim/particle_sim/particle.rs b/src/sim/particle_sim/particle.rs deleted file mode 100644 index cc7dd28..0000000 --- a/src/sim/particle_sim/particle.rs +++ /dev/null @@ -1,21 +0,0 @@ -use glam::Vec2; - -use crate::sim::cell::materials::MaterialId; - -pub struct Particle { - pub position: Vec2, - pub velocity: Vec2, - pub material: MaterialId, - pub life: f32, -} - -impl Particle { - pub fn new(position: Vec2, velocity: Vec2, material: MaterialId, life: f32) -> Self { - Particle { - position, - velocity, - material, - life, - } - } -} |
