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");