Permalink
Browse files

Fix affine inverse (#395)

  • Loading branch information...
boy0001 authored and kenzierocks committed Sep 2, 2017
1 parent d6aa1ad commit 5c64cf2f56960ab6d598e56821d7322bc194d3a7
@@ -165,7 +165,7 @@ public AffineTransform inverse() {
double det = this.determinant();
return new AffineTransform(
(m11 * m22 - m21 * m12) / det,
(m21 * m01 - m01 * m22) / det,
(m21 * m02 - m01 * m22) / det,
(m01 * m12 - m11 * m02) / det,
(m01 * (m22 * m13 - m12 * m23) + m02 * (m11 * m23 - m21 * m13)
- m03 * (m11 * m22 - m21 * m12)) / det,

0 comments on commit 5c64cf2

Please sign in to comment.