mirror of
https://github.com/g-truc/glm.git
synced 2024-11-23 09:14:34 +00:00
Merge pull request #5 from komiga/master
Fixed component swapping in tmat2x2::_inverse()
This commit is contained in:
commit
f96b0424ec
@ -271,8 +271,8 @@ namespace detail
|
|||||||
|
|
||||||
tmat2x2<T> Inverse(
|
tmat2x2<T> Inverse(
|
||||||
+ this->value[1][1] / Determinant,
|
+ this->value[1][1] / Determinant,
|
||||||
|
- this->value[0][1] / Determinant,
|
||||||
- this->value[1][0] / Determinant,
|
- this->value[1][0] / Determinant,
|
||||||
- this->value[0][1] / Determinant,
|
|
||||||
+ this->value[0][0] / Determinant);
|
+ this->value[0][0] / Determinant);
|
||||||
return Inverse;
|
return Inverse;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user