mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Remove things that have been deprecated for over a year (#7099)
Removes all things that were marked `#[deprecated]` more than 12 months ago
This commit is contained in:
@@ -1300,8 +1300,6 @@ fn mul_color(color: Color32, factor: f32) -> Color32 {
|
||||
/// Converts [`Shape`]s into triangles ([`Mesh`]).
|
||||
///
|
||||
/// For performance reasons it is smart to reuse the same [`Tessellator`].
|
||||
///
|
||||
/// See also [`tessellate_shapes`], a convenient wrapper around [`Tessellator`].
|
||||
#[derive(Clone)]
|
||||
pub struct Tessellator {
|
||||
pixels_per_point: f32,
|
||||
@@ -2194,18 +2192,6 @@ impl Tessellator {
|
||||
}
|
||||
}
|
||||
|
||||
#[deprecated = "Use `Tessellator::new(…).tessellate_shapes(…)` instead"]
|
||||
pub fn tessellate_shapes(
|
||||
pixels_per_point: f32,
|
||||
options: TessellationOptions,
|
||||
font_tex_size: [usize; 2],
|
||||
prepared_discs: Vec<PreparedDisc>,
|
||||
shapes: Vec<ClippedShape>,
|
||||
) -> Vec<ClippedPrimitive> {
|
||||
Tessellator::new(pixels_per_point, options, font_tex_size, prepared_discs)
|
||||
.tessellate_shapes(shapes)
|
||||
}
|
||||
|
||||
impl Tessellator {
|
||||
/// Turns [`Shape`]:s into sets of triangles.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user