1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Remove deprecated functions (#3692)

This commit is contained in:
Emil Ernerfeldt
2023-12-08 11:02:57 +01:00
committed by GitHub
parent b1721a3ce7
commit 8d4de866d4
20 changed files with 4 additions and 192 deletions

View File

@@ -407,13 +407,6 @@ impl Rect {
inside_dist + outside_dist
}
/// Linearly interpolate so that `[0, 0]` is [`Self::min`] and
/// `[1, 1]` is [`Self::max`].
#[deprecated = "Use `lerp_inside` instead"]
pub fn lerp(&self, t: Vec2) -> Pos2 {
self.lerp_inside(t)
}
/// Linearly interpolate so that `[0, 0]` is [`Self::min`] and
/// `[1, 1]` is [`Self::max`].
pub fn lerp_inside(&self, t: Vec2) -> Pos2 {