fix(Matrix3x2): decompose method (#941)

This commit is contained in:
Ilia Bahrebar
2024-09-23 08:52:28 +03:30
committed by GitHub
parent c814a65aea
commit b3b4acb0da
+1 -1
View File
@@ -298,7 +298,7 @@ public struct Matrix3x2 : IEquatable<Matrix3x2>
public void Decompose(out Vector2 translation, out float rotation, out Vector2 scale)
{
translation.X = M31;
translation.Y = M31;
translation.Y = M32;
rotation = (float)Math.Atan2(M21, M11);