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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user