Fixed mat2 inverse ticket #84

This commit is contained in:
Christophe Riccio 2011-05-03 00:03:57 +01:00
parent 5ffc2ec483
commit 8e3b911add

View File

@ -466,8 +466,8 @@ namespace glm
detail::tmat2x2<T> Inverse(
+ m[1][1] / Determinant,
- m[1][0] / Determinant,
- m[0][1] / Determinant,
- m[1][0] / Determinant,
+ m[0][0] / Determinant);
return Inverse;