From 90a8f817662a8dd59cd41ba8d99faa517a106c57 Mon Sep 17 00:00:00 2001 From: bonmas14 Date: Wed, 25 Oct 2023 00:56:16 +0300 Subject: Right matrix2x2 multiply order --- RayRoom/Core/Matrix2x2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RayRoom/Core/Matrix2x2.cs b/RayRoom/Core/Matrix2x2.cs index be4047e..4a5639a 100644 --- a/RayRoom/Core/Matrix2x2.cs +++ b/RayRoom/Core/Matrix2x2.cs @@ -33,7 +33,7 @@ namespace AudioTester public static Matrix2x2 operator*(Matrix2x2 a, Matrix2x2 b) { - return new Matrix2x2(a * new Vector2(b.a, b.c), a * new Vector2(b.b, b.d)); + return new Matrix2x2(b * new Vector2(a.a, a.c), b * new Vector2(a.b, a.d)); } } } \ No newline at end of file -- cgit v1.2.3-70-g09d2