mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-10 07:02:36 +00:00
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.
This commit is contained in:
parent
f9cb056b8c
commit
4f450088ee
@ -200,14 +200,6 @@ impl<const D: usize> ops::Sub<Point<D>> for &Point<D> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<const D: usize> ops::Mul<f64> for Point<D> {
|
||||
type Output = Self;
|
||||
|
||||
fn mul(self, rhs: f64) -> Self::Output {
|
||||
self.to_na().mul(rhs).into()
|
||||
}
|
||||
}
|
||||
|
||||
impl<const D: usize> fmt::Debug for Point<D> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
self.coords.fmt(f)
|
||||
|
Loading…
Reference in New Issue
Block a user