From 6eb9d74ad3cd9c0a0f39097b344c5e3ed36546a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4ger?= Date: Wed, 26 Oct 2022 12:18:17 +0200 Subject: [PATCH] Fixed Matrix4x3(d) ToString to print the final row. --- src/OpenTK.Mathematics/Matrix/Matrix4x3.cs | 2 +- src/OpenTK.Mathematics/Matrix/Matrix4x3d.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenTK.Mathematics/Matrix/Matrix4x3.cs b/src/OpenTK.Mathematics/Matrix/Matrix4x3.cs index 71f66abfed..f7170a71a3 100644 --- a/src/OpenTK.Mathematics/Matrix/Matrix4x3.cs +++ b/src/OpenTK.Mathematics/Matrix/Matrix4x3.cs @@ -1003,7 +1003,7 @@ public static void Transpose(in Matrix4x3 mat, out Matrix3x4 result) /// The string representation of the matrix. public override string ToString() { - return $"{Row0}\n{Row1}\n{Row2}"; + return $"{Row0}\n{Row1}\n{Row2}\n{Row3}"; } /// diff --git a/src/OpenTK.Mathematics/Matrix/Matrix4x3d.cs b/src/OpenTK.Mathematics/Matrix/Matrix4x3d.cs index 0a6c13796b..1e14d9ac3b 100644 --- a/src/OpenTK.Mathematics/Matrix/Matrix4x3d.cs +++ b/src/OpenTK.Mathematics/Matrix/Matrix4x3d.cs @@ -1002,7 +1002,7 @@ public static void Transpose(in Matrix4x3d mat, out Matrix3x4d result) /// The string representation of the matrix. public override string ToString() { - return $"{Row0}\n{Row1}\n{Row2}"; + return $"{Row0}\n{Row1}\n{Row2}\n{Row3}"; } ///