diff --git a/crates/fj-math/src/vector.rs b/crates/fj-math/src/vector.rs index 3009ac0ef..9cf74802c 100644 --- a/crates/fj-math/src/vector.rs +++ b/crates/fj-math/src/vector.rs @@ -354,7 +354,9 @@ where type Output = Self; fn mul(self, scalar: S) -> Self::Output { - self.to_na().mul(scalar.into().into_f64()).into() + let scalar = scalar.into(); + let components = self.components.map(|v| v * scalar); + Self { components } } }