diff --git a/src/DotRecast.Core/CollectionExtensions.cs b/src/DotRecast.Core/CollectionExtensions.cs index cb6e1e7..4a7dbc2 100644 --- a/src/DotRecast.Core/CollectionExtensions.cs +++ b/src/DotRecast.Core/CollectionExtensions.cs @@ -6,7 +6,6 @@ namespace DotRecast.Core public static class CollectionExtensions { /// Sorts the given data in-place using insertion sort. - /// /// @param data The data to sort /// @param dataLength The number of elements in @p data diff --git a/src/DotRecast.Recast.Demo/RecastDemo.cs b/src/DotRecast.Recast.Demo/RecastDemo.cs index e809bcd..b84ea83 100644 --- a/src/DotRecast.Recast.Demo/RecastDemo.cs +++ b/src/DotRecast.Recast.Demo/RecastDemo.cs @@ -21,6 +21,7 @@ freely, subject to the following restrictions: using System; using System.Collections.Generic; using System.Collections.Immutable; +using System.Globalization; using System.IO; using System.Linq; using System.Numerics; @@ -398,11 +399,14 @@ public class RecastDemo : IRecastDemoChannel var version = _gl.GetStringS(GLEnum.Version); var renderGl = _gl.GetStringS(GLEnum.Renderer); var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion); - + var currentCulture = CultureInfo.CurrentCulture; var workingDirectory = Directory.GetCurrentDirectory(); - Logger.Information($"working directory - {workingDirectory}"); + Logger.Information($"Working directory - {workingDirectory}"); Logger.Information($"ImGui.Net version - {ImGui.GetVersion()}"); + Logger.Information($"Culture - {currentCulture.Name}"); + Logger.Information($"Dotnet Version - {Environment.Version.ToString()}"); + Logger.Information($"OS Version - {Environment.OSVersion}"); Logger.Information(vendor); Logger.Information(version); Logger.Information(renderGl); @@ -442,9 +446,9 @@ public class RecastDemo : IRecastDemoChannel private void OnWindowUpdate(double dt) { /* - * try (MemoryStack stack = StackPush()) { int[] w = stack.MallocInt(1); int[] h = - * stack.MallocInt(1); GlfwGetWindowSize(win, w, h); width = w.x; height = h.x; } - */ + * try (MemoryStack stack = StackPush()) { int[] w = stack.MallocInt(1); int[] h = + * stack.MallocInt(1); GlfwGetWindowSize(win, w, h); width = w.x; height = h.x; } + */ if (_sample.GetInputGeom() != null) { var settings = _sample.GetSettings();