forked from mirror/DotRecast
add working environment
This commit is contained in:
parent
bd16322ec2
commit
0284ce3d7e
|
@ -6,7 +6,6 @@ namespace DotRecast.Core
|
||||||
public static class CollectionExtensions
|
public static class CollectionExtensions
|
||||||
{
|
{
|
||||||
/// Sorts the given data in-place using insertion sort.
|
/// Sorts the given data in-place using insertion sort.
|
||||||
|
|
||||||
///
|
///
|
||||||
/// @param data The data to sort
|
/// @param data The data to sort
|
||||||
/// @param dataLength The number of elements in @p data
|
/// @param dataLength The number of elements in @p data
|
||||||
|
|
|
@ -21,6 +21,7 @@ freely, subject to the following restrictions:
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.Immutable;
|
using System.Collections.Immutable;
|
||||||
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
@ -398,11 +399,14 @@ public class RecastDemo : IRecastDemoChannel
|
||||||
var version = _gl.GetStringS(GLEnum.Version);
|
var version = _gl.GetStringS(GLEnum.Version);
|
||||||
var renderGl = _gl.GetStringS(GLEnum.Renderer);
|
var renderGl = _gl.GetStringS(GLEnum.Renderer);
|
||||||
var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion);
|
var glslString = _gl.GetStringS(GLEnum.ShadingLanguageVersion);
|
||||||
|
var currentCulture = CultureInfo.CurrentCulture;
|
||||||
|
|
||||||
var workingDirectory = Directory.GetCurrentDirectory();
|
var workingDirectory = Directory.GetCurrentDirectory();
|
||||||
Logger.Information($"working directory - {workingDirectory}");
|
Logger.Information($"Working directory - {workingDirectory}");
|
||||||
Logger.Information($"ImGui.Net version - {ImGui.GetVersion()}");
|
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(vendor);
|
||||||
Logger.Information(version);
|
Logger.Information(version);
|
||||||
Logger.Information(renderGl);
|
Logger.Information(renderGl);
|
||||||
|
|
Loading…
Reference in New Issue