Fix formatting

This commit is contained in:
Balint-H
2025-01-21 15:21:51 +00:00
parent a58f8d0033
commit b3274bb91d
@@ -12,12 +12,10 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
using System;
using System.Globalization; using System.Globalization;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using UnityEditor;
using UnityEngine; using UnityEngine;
namespace Mujoco { namespace Mujoco {
@@ -32,7 +30,7 @@ public static class ObjMeshImportUtility {
public static void CopyAndScaleOBJFile(string sourceFilePath, string targetFilePath, public static void CopyAndScaleOBJFile(string sourceFilePath, string targetFilePath,
Vector3 scale) { Vector3 scale) {
// OBJ files are human readable // OBJ files are human-readable
string[] lines = File.ReadAllLines(sourceFilePath); string[] lines = File.ReadAllLines(sourceFilePath);
StringBuilder outputBuilder = new StringBuilder(); StringBuilder outputBuilder = new StringBuilder();
// Culture info for consistent decimal point handling // Culture info for consistent decimal point handling
@@ -92,4 +90,4 @@ public static class ObjMeshImportUtility {
File.WriteAllText(targetFilePath, outputBuilder.ToString()); File.WriteAllText(targetFilePath, outputBuilder.ToString());
} }
} }
} }