Updated Vector3.ToString to match OpenSCAD's vector format of plain [x, y, z]

This commit is contained in:
Michael Smith 2016-02-25 22:58:20 -08:00
parent 4f0d3ed1be
commit 963a58783a

View File

@ -228,7 +228,7 @@ namespace OSCADSharp
/// <returns>Script for this object</returns>
public override string ToString()
{
return String.Format("[X: {0}, Y: {1}, Z: {2}]", this.X.ToString(), this.Y.ToString(), this.Z.ToString());
return String.Format("[{0}, {1}, {2}]", this.X.ToString(), this.Y.ToString(), this.Z.ToString());
}
}
}