From e6e0bc17ce399e3921b32f6c351d4169b10e882f Mon Sep 17 00:00:00 2001 From: glax Date: Tue, 23 Jul 2024 19:12:10 +0200 Subject: [PATCH] Dependency change --- Graph_Renderer/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Graph_Renderer/Program.cs b/Graph_Renderer/Program.cs index f40a278..4e20082 100644 --- a/Graph_Renderer/Program.cs +++ b/Graph_Renderer/Program.cs @@ -3,6 +3,7 @@ using System.Globalization; using System.Runtime.InteropServices; using astar; +using astar.PathingHelper; using GlaxArguments; using GlaxLogger; using Graph_Renderer; @@ -36,7 +37,7 @@ if (!arguments.TryGetValue(regionArg, out string[]? regionVal) || Logger logger = new(LogLevel.Information, consoleOut: Console.Out); -Route r = Astar.FindPath(startLat, startLon, endLat, endLon, regionSize, true, importPathVal[0]); +Route r = Astar.FindPath(startLat, startLon, endLat, endLon, regionSize, true, PathMeasure.Time, importPathVal[0], logger); Renderer.Render(r, 30000, "render.png");