fix compiler warnings & mention breaking in changelog

This commit is contained in:
johnny-smitherson
2023-11-03 21:01:39 +00:00
parent 23a7ed5beb
commit 31518e3dce
5 changed files with 9 additions and 19 deletions

View File

@@ -9,17 +9,10 @@ use rapier::pipeline::{
#[derive(Resource)]
pub struct DebugRenderPipelineResource(pub DebugRenderPipeline);
#[derive(Default)]
pub struct RapierDebugRenderPlugin {
depth_test: bool,
}
impl Default for RapierDebugRenderPlugin {
fn default() -> Self {
Self {
depth_test: cfg!(feature = "dim3"),
}
}
}
impl Plugin for RapierDebugRenderPlugin {
fn build(&self, app: &mut App) {
app.insert_resource(DebugRenderPipelineResource(DebugRenderPipeline::new(