mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Remove everything marked deprecated
This commit is contained in:
@@ -112,16 +112,6 @@ impl Vec2 {
|
||||
pub const ZERO: Self = Self { x: 0.0, y: 0.0 };
|
||||
pub const INFINITY: Self = Self::splat(f32::INFINITY);
|
||||
|
||||
#[deprecated = "Use Vec2::ZERO instead"]
|
||||
pub fn zero() -> Self {
|
||||
Self::ZERO
|
||||
}
|
||||
|
||||
#[deprecated = "Use Vec2::INFINITY instead"]
|
||||
pub fn infinity() -> Self {
|
||||
Self::INFINITY
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub const fn new(x: f32, y: f32) -> Self {
|
||||
Self { x, y }
|
||||
|
||||
Reference in New Issue
Block a user