Merge pull request #5 from komiga/master

Fixed component swapping in tmat2x2::_inverse()
This commit is contained in:
Christophe Riccio 2012-11-08 16:00:49 -08:00
commit f96b0424ec

View File

@ -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;
} }