Skip to content

Commit 8a38ae8

Browse files
committed
fix some warnings
1 parent 1800d63 commit 8a38ae8

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/grid/grid.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ mod test {
364364
model: ElasticCoefficients::from_young_modulus(100_000.0, 0.33),
365365
plasticity: None,
366366
phase: None,
367+
color: None,
367368
});
368369
}
369370
}

src/pipeline.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ mod test {
311311
model: ElasticCoefficients::from_young_modulus(100_000.0, 0.33),
312312
plasticity: None,
313313
phase: None,
314+
color: None,
314315
});
315316
}
316317
}

src_testbed/lib.rs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub mod step;
2626
pub mod ui;
2727

2828
use bevy::asset::load_internal_asset;
29-
use bevy::ecs::system::{BoxedSystem, SystemId};
29+
use bevy::ecs::system::SystemId;
3030
use bevy::pbr::wireframe::WireframePlugin;
3131
use bevy::prelude::*;
3232
use bevy_editor_cam::prelude::DefaultEditorCamPlugins;
@@ -36,12 +36,7 @@ use instancing::INSTANCING_SHADER_HANDLE;
3636
use prep_vertex_buffer::{GpuRenderConfig, RenderConfig, WgPrepVertexBuffer};
3737
use wgcore::hot_reloading::HotReloadState;
3838
use wgcore::timestamps::GpuTimestamps;
39-
use wgsparkl::rapier::dynamics::{CCDSolver, IntegrationParameters, RigidBodySet};
40-
use wgsparkl::rapier::geometry::{ColliderSet, NarrowPhase};
41-
use wgsparkl::rapier::prelude::{
42-
DefaultBroadPhase, ImpulseJointSet, IslandManager, MultibodyJointSet, PhysicsPipeline,
43-
ShapeType,
44-
};
39+
use wgsparkl::rapier::prelude::ShapeType;
4540
use wgsparkl::{
4641
pipeline::{MpmData, MpmPipeline},
4742
solver::Particle,

0 commit comments

Comments
 (0)