From 4f450088eedd6de5153081e986d9baef7a16e16c Mon Sep 17 00:00:00 2001 From: Hanno Braun Date: Wed, 31 Jul 2024 19:54:50 +0200 Subject: [PATCH] Remove implementation of scalar mult for `Point` There's no clear interpretation. I don't think it makes sense. And it seems it wasn't used anywhere in the code base anyway. --- crates/fj-math/src/point.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/fj-math/src/point.rs b/crates/fj-math/src/point.rs index 83b06f63a8..90c090f95c 100644 --- a/crates/fj-math/src/point.rs +++ b/crates/fj-math/src/point.rs @@ -200,14 +200,6 @@ impl ops::Sub> for &Point { } } -impl ops::Mul for Point { - type Output = Self; - - fn mul(self, rhs: f64) -> Self::Output { - self.to_na().mul(rhs).into() - } -} - impl fmt::Debug for Point { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.coords.fmt(f)