Skip to content

Commit f08961c

Browse files
committed
Remove old deprecated type
1 parent e29c4b9 commit f08961c

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/entity.rs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//! Custom Bevy ECS bundle for shapes.
2-
#![expect(deprecated)]
32
43
use bevy::prelude::*;
54
use lyon_algorithms::path::Builder;
@@ -11,30 +10,6 @@ use crate::{
1110
plugin::COLOR_MATERIAL_HANDLE,
1211
};
1312

14-
/// A Bevy `Bundle` to represent a shape.
15-
#[deprecated(since = "0.14.0", note = "please use the `Shape` component instead.")]
16-
#[allow(missing_docs)]
17-
#[derive(Bundle, Clone)]
18-
pub struct ShapeBundle {
19-
pub path: Shape,
20-
pub mesh: Mesh2d,
21-
pub material: MeshMaterial2d<ColorMaterial>,
22-
pub transform: Transform,
23-
pub visibility: Visibility,
24-
}
25-
26-
impl Default for ShapeBundle {
27-
fn default() -> Self {
28-
Self {
29-
path: default(),
30-
mesh: default(),
31-
material: MeshMaterial2d(COLOR_MATERIAL_HANDLE),
32-
transform: default(),
33-
visibility: default(),
34-
}
35-
}
36-
}
37-
3813
/// `Component` describing a geometric shape.
3914
///
4015
/// It can be constructed using `ShapeBuilder`.

0 commit comments

Comments
 (0)