fixed the chebyshev implementation and a live rendering bug

This commit is contained in:
2026-05-14 13:52:27 -05:00
parent cd08eebdbd
commit 17fbabc3e2
2 changed files with 27 additions and 5 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ func main() {
// 2. Trace parent chain and draw a yellow polyline (cell centers) each frame.
if lastEvaluatedNode != -1 {
startIndex := int(startPos.Y)*width + int(startPos.X)
parents := astar.GetParents()
parents := astar.ParentsSnapshot()
pathThickness := float32(16.0)
if pathThickness < 1 {
pathThickness = 1