desk_physics/
shape.rs

1use bevy_ecs::prelude::Component;
2
3#[derive(Component, Clone, Debug, PartialEq)]
4#[non_exhaustive]
5pub enum Shape {
6    Blank,
7    Rect { width: f32, height: f32 },
8}
9
10impl Default for Shape {
11    fn default() -> Self {
12        Shape::Blank
13    }
14}