use crate::{BaseComponent, InstanceData};
#[cfg(feature = "physics")]
use crate::physics::World;
#[derive(Copy, Clone, Default)]
pub struct EmptyComponent;
impl EmptyComponent {
pub fn new() -> Self {
Self
}
}
impl BaseComponent for EmptyComponent {
fn instance(&self, #[cfg(feature = "physics")] _world: &World) -> InstanceData {
InstanceData::default()
}
}