Remove Mul
implementation for Vector
This commit is contained in:
parent
3e3f426af8
commit
f7a8b6983c
@ -32,17 +32,6 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> std::ops::Mul for Vector<T>
|
||||
where
|
||||
T: std::ops::Mul<Output = T>,
|
||||
{
|
||||
type Output = Self;
|
||||
|
||||
fn mul(self, b: Self) -> Self {
|
||||
Self::new(self.x * b.x, self.y * b.y)
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Default for Vector<T>
|
||||
where
|
||||
T: Default,
|
||||
|
Loading…
Reference in New Issue
Block a user