From b3274bb91da3c41fd286dc41ba79cfcffe97980f Mon Sep 17 00:00:00 2001 From: Balint-H Date: Tue, 21 Jan 2025 15:21:51 +0000 Subject: [PATCH] Fix formatting --- unity/Editor/Importer/ObjMeshImportUtility.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/unity/Editor/Importer/ObjMeshImportUtility.cs b/unity/Editor/Importer/ObjMeshImportUtility.cs index 2eea2211..262fd128 100644 --- a/unity/Editor/Importer/ObjMeshImportUtility.cs +++ b/unity/Editor/Importer/ObjMeshImportUtility.cs @@ -12,12 +12,10 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Globalization; using System.IO; using System.Linq; using System.Text; -using UnityEditor; using UnityEngine; namespace Mujoco { @@ -32,7 +30,7 @@ public static class ObjMeshImportUtility { public static void CopyAndScaleOBJFile(string sourceFilePath, string targetFilePath, Vector3 scale) { - // OBJ files are human readable + // OBJ files are human-readable string[] lines = File.ReadAllLines(sourceFilePath); StringBuilder outputBuilder = new StringBuilder(); // Culture info for consistent decimal point handling @@ -92,4 +90,4 @@ public static class ObjMeshImportUtility { File.WriteAllText(targetFilePath, outputBuilder.ToString()); } } -} \ No newline at end of file +}