mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Remove dead code
This commit is contained in:
@@ -194,14 +194,6 @@ impl Pos2 {
|
|||||||
(self - other).length_sq()
|
(self - other).length_sq()
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove?
|
|
||||||
pub fn to_vec2(self) -> Vec2 {
|
|
||||||
Vec2 {
|
|
||||||
x: self.x,
|
|
||||||
y: self.y,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn floor(self) -> Self {
|
pub fn floor(self) -> Self {
|
||||||
pos2(self.x.floor(), self.y.floor())
|
pos2(self.x.floor(), self.y.floor())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user