Skip to content

Matrix3.ToString() 方法里 format 字符串错误 #17

@ThinkerHua

Description

@ThinkerHua
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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions