diff --git a/crates/fj-math/src/point.rs b/crates/fj-math/src/point.rs index 5e3f4394c..953cb41ef 100644 --- a/crates/fj-math/src/point.rs +++ b/crates/fj-math/src/point.rs @@ -264,6 +264,12 @@ impl ops::Div> for Point { } } +impl ops::DivAssign> for Point { + fn div_assign(&mut self, v: Vector) { + *self = *self / v + } +} + impl fmt::Debug for Point { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { self.coords.fmt(f)