This commit is contained in:
aozhiwei 2022-12-28 15:00:52 +08:00
parent f49e30ca15
commit 89c5b1d7c7
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ void Movement::ClearPath()
paths_.clear(); paths_.clear();
} }
void Movement::AddPaths(const a8::Vec3& start, std::vector<a8::Vec3>& paths) void Movement::AddPaths(const glm::vec3& start, std::vector<glm::vec3>& paths)
{ {
#if 0 #if 0
if (paths.empty()) { if (paths.empty()) {

View File

@ -21,7 +21,7 @@ class Movement
bool UpdatePosition(); bool UpdatePosition();
void CalcTargetPos(float distance); void CalcTargetPos(float distance);
void ClearPath(); void ClearPath();
void AddPaths(const a8::Vec3& start, std::vector<a8::Vec3>& paths); void AddPaths(const glm::vec3& start, std::vector<glm::vec3>& paths);
size_t GetPathSize(); size_t GetPathSize();
bool IsFindPath() { return is_find_path_; } bool IsFindPath() { return is_find_path_; }