aboutsummaryrefslogtreecommitdiff
path: root/AudioTester
diff options
context:
space:
mode:
authorbonmas14 <bonmas14@gmail.com>2023-10-25 01:02:43 +0300
committerbonmas14 <bonmas14@gmail.com>2023-10-25 01:02:43 +0300
commit91d37e2f17ca0e3d9f122c54268356edb1fd2978 (patch)
treeadd7808eddbade49232f20bafae9b071444c3924 /AudioTester
parente74eed094b929852187dd33bd35b9252f346a274 (diff)
downloadRayRoom-91d37e2f17ca0e3d9f122c54268356edb1fd2978.tar.gz
RayRoom-91d37e2f17ca0e3d9f122c54268356edb1fd2978.zip
full left-to-right order in matrix x vector multiplication
Diffstat (limited to 'AudioTester')
-rw-r--r--AudioTester/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioTester/Program.cs b/AudioTester/Program.cs
index 7557142..14212af 100644
--- a/AudioTester/Program.cs
+++ b/AudioTester/Program.cs
@@ -28,8 +28,8 @@ namespace AudioTester
for (int i = 0; i < array.Length; i++)
{
- g.DrawLine(background, (mat * array[i].a + new Vector2(1000, 1000)).GetPoint(), (mat * array[i].b + new Vector2(1000, 1000)).GetPoint());
- g.DrawLine(foreground, (mat * array[i].a + new Vector2(1000, 1000)).GetPoint(), (mat * array[i].b + new Vector2(1000, 1000)).GetPoint());
+ g.DrawLine(background, (array[i].a * mat + new Vector2(1000, 1000)).GetPoint(), (array[i].b * mat + new Vector2(1000, 1000)).GetPoint());
+ g.DrawLine(foreground, (array[i].a * mat + new Vector2(1000, 1000)).GetPoint(), (array[i].b * mat + new Vector2(1000, 1000)).GetPoint());
}
}