diff options
Diffstat (limited to 'OpenSim/Framework/PhysicsInertia.cs')
-rw-r--r-- | OpenSim/Framework/PhysicsInertia.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Framework/PhysicsInertia.cs b/OpenSim/Framework/PhysicsInertia.cs index af70634..6e15791 100644 --- a/OpenSim/Framework/PhysicsInertia.cs +++ b/OpenSim/Framework/PhysicsInertia.cs | |||
@@ -64,25 +64,25 @@ namespace OpenSim.Framework | |||
64 | 64 | ||
65 | private void XWfloat(string name, float f) | 65 | private void XWfloat(string name, float f) |
66 | { | 66 | { |
67 | writer.WriteElementString(name, f.ToString(Utils.EnUsCulture)); | 67 | writer.WriteElementString(name, f.ToString(Culture.FormatProvider)); |
68 | } | 68 | } |
69 | 69 | ||
70 | private void XWVector(string name, Vector3 vec) | 70 | private void XWVector(string name, Vector3 vec) |
71 | { | 71 | { |
72 | writer.WriteStartElement(name); | 72 | writer.WriteStartElement(name); |
73 | writer.WriteElementString("X", vec.X.ToString(Utils.EnUsCulture)); | 73 | writer.WriteElementString("X", vec.X.ToString(Culture.FormatProvider)); |
74 | writer.WriteElementString("Y", vec.Y.ToString(Utils.EnUsCulture)); | 74 | writer.WriteElementString("Y", vec.Y.ToString(Culture.FormatProvider)); |
75 | writer.WriteElementString("Z", vec.Z.ToString(Utils.EnUsCulture)); | 75 | writer.WriteElementString("Z", vec.Z.ToString(Culture.FormatProvider)); |
76 | writer.WriteEndElement(); | 76 | writer.WriteEndElement(); |
77 | } | 77 | } |
78 | 78 | ||
79 | private void XWVector4(string name, Vector4 quat) | 79 | private void XWVector4(string name, Vector4 quat) |
80 | { | 80 | { |
81 | writer.WriteStartElement(name); | 81 | writer.WriteStartElement(name); |
82 | writer.WriteElementString("X", quat.X.ToString(Utils.EnUsCulture)); | 82 | writer.WriteElementString("X", quat.X.ToString(Culture.FormatProvider)); |
83 | writer.WriteElementString("Y", quat.Y.ToString(Utils.EnUsCulture)); | 83 | writer.WriteElementString("Y", quat.Y.ToString(Culture.FormatProvider)); |
84 | writer.WriteElementString("Z", quat.Z.ToString(Utils.EnUsCulture)); | 84 | writer.WriteElementString("Z", quat.Z.ToString(Culture.FormatProvider)); |
85 | writer.WriteElementString("W", quat.W.ToString(Utils.EnUsCulture)); | 85 | writer.WriteElementString("W", quat.W.ToString(Culture.FormatProvider)); |
86 | writer.WriteEndElement(); | 86 | writer.WriteEndElement(); |
87 | } | 87 | } |
88 | 88 | ||