fix closure syntax
This commit is contained in:
parent
6ac2184397
commit
74707ed8d2
1 changed files with 1 additions and 1 deletions
|
@ -1193,7 +1193,7 @@ impl<S: BaseFloat + 'static> Matrix<S, Vector4<S>> for Matrix4<S> {
|
||||||
let one: S = one();
|
let one: S = one();
|
||||||
let inv_det = one / det;
|
let inv_det = one / det;
|
||||||
let t = self.transpose();
|
let t = self.transpose();
|
||||||
let cf = |&: i, j| {
|
let cf = |i, j| {
|
||||||
let mat = match i {
|
let mat = match i {
|
||||||
0 => Matrix3::from_cols(t.y.truncate_n(j),
|
0 => Matrix3::from_cols(t.y.truncate_n(j),
|
||||||
t.z.truncate_n(j),
|
t.z.truncate_n(j),
|
||||||
|
|
Loading…
Reference in a new issue