diff --git a/CSMath/Matrix3.cs b/CSMath/Matrix3.cs index a701a28..2fc80bc 100644 --- a/CSMath/Matrix3.cs +++ b/CSMath/Matrix3.cs @@ -242,9 +242,9 @@ public override string ToString() { string separator = Thread.CurrentThread.CurrentCulture.TextInfo.ListSeparator; StringBuilder s = new StringBuilder(); - s.Append(string.Format("|{0}{2} {0}{2} {1}|" + Environment.NewLine, this.M00, this.M01, this.M02, separator)); - s.Append(string.Format("|{0}{2} {0}{2} {1}|" + Environment.NewLine, this.M10, this.M11, this.M12, separator)); - s.Append(string.Format("|{0}{2} {0}{2} {1}|", this.M20, this.M21, this.M22, separator)); + s.Append(string.Format("|{0}{3} {1}{3} {2}|" + Environment.NewLine, this.M00, this.M01, this.M02, separator)); + s.Append(string.Format("|{0}{3} {1}{3} {2}|" + Environment.NewLine, this.M10, this.M11, this.M12, separator)); + s.Append(string.Format("|{0}{3} {1}{3} {2}|", this.M20, this.M21, this.M22, separator)); return s.ToString(); } }