From 61033a5fc19d81cb00e91444b03f9d24db8b906e Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 22 Apr 2020 21:11:13 +0200 Subject: [PATCH] Remove dead code --- emigui/src/math.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/emigui/src/math.rs b/emigui/src/math.rs index 903be399..8055712c 100644 --- a/emigui/src/math.rs +++ b/emigui/src/math.rs @@ -194,14 +194,6 @@ impl Pos2 { (self - other).length_sq() } - // TODO: remove? - pub fn to_vec2(self) -> Vec2 { - Vec2 { - x: self.x, - y: self.y, - } - } - pub fn floor(self) -> Self { pos2(self.x.floor(), self.y.floor()) }