summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-13 13:41:00 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-13 13:41:00 +0200
commitd9a29f51760efc0b2a9d3b0947c15c51897a7a5e (patch)
tree9e9e5870b1c4d8c14f9ed4baf237a15f52d6900f
parent5e6d99419906077e75268ba136542254611df9f8 (diff)
downloadiced-d9a29f51760efc0b2a9d3b0947c15c51897a7a5e.tar.gz
iced-d9a29f51760efc0b2a9d3b0947c15c51897a7a5e.tar.bz2
iced-d9a29f51760efc0b2a9d3b0947c15c51897a7a5e.zip
Remove `Vector::UNIT` constant
-rw-r--r--core/src/vector.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/src/vector.rs b/core/src/vector.rs
index 049e648f..1380c3b3 100644
--- a/core/src/vector.rs
+++ b/core/src/vector.rs
@@ -18,9 +18,6 @@ impl<T> Vector<T> {
impl Vector {
/// The zero [`Vector`].
pub const ZERO: Self = Self::new(0.0, 0.0);
-
- /// The unit [`Vector`].
- pub const UNIT: Self = Self::new(0.0, 0.0);
}
impl<T> std::ops::Add for Vector<T>