Skip to content

Commit

Permalink
Remove commented-out code snippet.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Feb 4, 2023
1 parent cc5807e commit d680e59
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/plugin/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,34 +168,6 @@ pub enum PhysicsStages {
DetectDespawn,
}

// mod foo {
// use std::marker::PhantomData;

// use bevy::{
// ecs::system::{SystemParam, SystemParamItem},
// prelude::*,
// };

// struct MyPlugin<T: SystemParam>(PhantomData<T>);

// impl<T> Plugin for MyPlugin<T>
// where
// T: 'static + SystemParam + Send + Sync,
// for<'w, 's> SystemParamItem<'w, 's, T>: 'static,
// {
// fn build(&self, app: &mut App) {}
// }

// #[derive(SystemParam)]
// struct MySystemParam<'w, 's> {
// tags: Query<'w, 's, Entity>,
// }

// fn main() {
// App::new().add_plugin(MyPlugin::<MySystemParam>(PhantomData));
// }
// }

impl<PhysicsHooks> Plugin for RapierPhysicsPlugin<PhysicsHooks>
where
PhysicsHooks: 'static + BevyPhysicsHooks,
Expand Down

0 comments on commit d680e59

Please sign in to comment.