visualize explored nodes (closed path)

This commit is contained in:
2026-05-14 09:43:49 -05:00
parent 589663d3d0
commit 60a28cea88
2 changed files with 14 additions and 2 deletions
+4
View File
@@ -128,6 +128,10 @@ func (a *AStar) GetGridTypes() []byte {
return a.gridTypes
}
func (a *AStar) GetClosedSet() []bool {
return a.closedSet
}
func (a *AStar) SetGScores(x int, y int, gScore float32) {
a.gScores[y*a.width+x] = gScore
}