geforkt von Mirrors/FastAsyncWorldEdit
Fix affine inverse (#395)
Dieser Commit ist enthalten in:
Ursprung
d6aa1ad509
Commit
5c64cf2f56
@ -165,7 +165,7 @@ public class AffineTransform implements Transform {
|
|||||||
double det = this.determinant();
|
double det = this.determinant();
|
||||||
return new AffineTransform(
|
return new AffineTransform(
|
||||||
(m11 * m22 - m21 * m12) / det,
|
(m11 * m22 - m21 * m12) / det,
|
||||||
(m21 * m01 - m01 * m22) / det,
|
(m21 * m02 - m01 * m22) / det,
|
||||||
(m01 * m12 - m11 * m02) / det,
|
(m01 * m12 - m11 * m02) / det,
|
||||||
(m01 * (m22 * m13 - m12 * m23) + m02 * (m11 * m23 - m21 * m13)
|
(m01 * (m22 * m13 - m12 * m23) + m02 * (m11 * m23 - m21 * m13)
|
||||||
- m03 * (m11 * m22 - m21 * m12)) / det,
|
- m03 * (m11 * m22 - m21 * m12)) / det,
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren