forked from M-Labs/nalgebra
Update src/geometry/scale.rs
Removed return Co-authored-by: Sébastien Crozet <sebastien@crozet.re>
This commit is contained in:
parent
91b8424a86
commit
6123c86f9e
@ -346,7 +346,7 @@ impl<T: Scalar + ClosedMul, const D: usize> Scale<T, D> {
|
|||||||
#[inline]
|
#[inline]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
pub fn transform_point(&self, pt: &Point<T, D>) -> Point<T, D> {
|
pub fn transform_point(&self, pt: &Point<T, D>) -> Point<T, D> {
|
||||||
return self * pt;
|
self * pt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user