From 8328527b2aac9aee8e086d59885ba02e7c5cb526 Mon Sep 17 00:00:00 2001 From: ikpil Date: Sun, 20 Aug 2023 13:24:57 +0900 Subject: [PATCH] typo --- src/DotRecast.Recast/ObjImporter.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DotRecast.Recast/ObjImporter.cs b/src/DotRecast.Recast/ObjImporter.cs index ae9aab6..74c096e 100644 --- a/src/DotRecast.Recast/ObjImporter.cs +++ b/src/DotRecast.Recast/ObjImporter.cs @@ -26,18 +26,18 @@ namespace DotRecast.Recast { public static class ObjImporter { - public static IInputGeomProvider Load(byte[] chunck) + public static IInputGeomProvider Load(byte[] chunk) { - var context = LoadContext(chunck); + var context = LoadContext(chunk); return new SimpleInputGeomProvider(context.vertexPositions, context.meshFaces); } - public static ObjImporterContext LoadContext(byte[] chunck) + public static ObjImporterContext LoadContext(byte[] chunk) { ObjImporterContext context = new ObjImporterContext(); try { - using StreamReader reader = new StreamReader(new MemoryStream(chunck)); + using StreamReader reader = new StreamReader(new MemoryStream(chunk)); string line; while ((line = reader.ReadLine()) != null) {