Skip to content

Commit

Permalink
Merge pull request #2436 from hannobraun/point
Browse files Browse the repository at this point in the history
Remove implementation of scalar multiplication for `Point`
  • Loading branch information
hannobraun authored Jul 31, 2024
2 parents f9cb056 + 4f45008 commit e67dc74
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crates/fj-math/src/point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e67dc74

Please sign in to comment.