diff --git a/geometry/src/vector.rs b/geometry/src/vector.rs index a2031e25..6bd754c2 100644 --- a/geometry/src/vector.rs +++ b/geometry/src/vector.rs @@ -246,6 +246,14 @@ impl Div for Vector2F { } } +impl Div for Vector2F { + type Output = Vector2F; + #[inline] + fn div(self, other: f32) -> Vector2F { + self / Vector2F::splat(other) + } +} + impl Neg for Vector2F { type Output = Vector2F; #[inline]