actually remove particles

This commit is contained in:
Zynh0722 2024-02-17 01:13:02 -08:00
parent 8d822448f8
commit 9d5ced0539

View file

@ -1,6 +1,5 @@
mod drawable; mod drawable;
mod engine; mod engine;
mod particle;
use drawable::DrawShape; use drawable::DrawShape;
use engine::{PhysicsEngine, PhysicsState}; use engine::{PhysicsEngine, PhysicsState};
@ -15,7 +14,6 @@ use rapier2d::{
const WINDOW_WIDTH: u32 = 512; const WINDOW_WIDTH: u32 = 512;
const WINDOW_HEIGHT: u32 = WINDOW_WIDTH; const WINDOW_HEIGHT: u32 = WINDOW_WIDTH;
const PARTICLE_COUNT: u32 = 200; const PARTICLE_COUNT: u32 = 200;
const PARTICLE_SIZE: f32 = 10.0;
struct Model { struct Model {
// Store the window ID so we can refer to this specific window later if needed. // Store the window ID so we can refer to this specific window later if needed.