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
6123c86f9e
commit
26e36c15ba
@ -325,9 +325,10 @@ impl<T: Scalar, const D: usize> Scale<T, D> {
|
|||||||
{
|
{
|
||||||
if let Some(v) = self.try_inverse() {
|
if let Some(v) = self.try_inverse() {
|
||||||
self.vector = v.vector;
|
self.vector = v.vector;
|
||||||
return true;
|
true
|
||||||
|
} else {
|
||||||
|
false
|
||||||
}
|
}
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user