feat: 添加寻路服务器
This commit is contained in:
1 parent
6a723ac078
commit
b52e1f7059
32 files changed
+11671
-83
No files matched your search
@@ -29,7 +29,7 @@ func NewBFS() (r *BFS) {
|
||||
return r
|
||||
}
|
||||
|
||||
func (b *BFS) InitMap(terrain map[MeshVector]bool, start MeshVector, end MeshVector, extR int16) {
|
||||
func (b *BFS) InitMap(terrain map[MeshVector]struct{}, start MeshVector, end MeshVector, extR int16) {
|
||||
xLen := end.X - start.X
|
||||
yLen := end.Y - start.Y
|
||||
zLen := end.Z - start.Z
|
||||
|
||||
Reference in new issue
Block a user