3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-08 04:20:06 +01:00

Fix affine inverse (#395)

Dieser Commit ist enthalten in:
Jesse Boyd 2017-09-02 17:23:30 +10:00 committet von Kenzie Togami
Ursprung d6aa1ad509
Commit 5c64cf2f56

Datei anzeigen

@ -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,