mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Remove everything marked deprecated
This commit is contained in:
@@ -124,11 +124,6 @@ impl Shape {
|
||||
}
|
||||
}
|
||||
|
||||
#[deprecated = "Renamed convex_polygon"]
|
||||
pub fn polygon(points: Vec<Pos2>, fill: impl Into<Color32>, stroke: impl Into<Stroke>) -> Self {
|
||||
Self::convex_polygon(points, fill, stroke)
|
||||
}
|
||||
|
||||
pub fn circle_filled(center: Pos2, radius: f32, fill_color: impl Into<Color32>) -> Self {
|
||||
Self::Circle {
|
||||
center,
|
||||
@@ -255,11 +250,6 @@ impl Shape {
|
||||
Self::Mesh(mesh)
|
||||
}
|
||||
|
||||
#[deprecated = "Renamed `mesh`"]
|
||||
pub fn triangles(mesh: Mesh) -> Self {
|
||||
Self::mesh(mesh)
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn texture_id(&self) -> super::TextureId {
|
||||
if let Shape::Mesh(mesh) = self {
|
||||
|
||||
Reference in New Issue
Block a user