This commit is contained in:
aozhiwei 2022-12-28 14:41:28 +08:00
parent 2a8cbcc140
commit 97f9f3f760
2 changed files with 2 additions and 2 deletions

View File

@ -334,7 +334,7 @@ int MapInstance::FindStraightPath(int layer,
} }
int MapInstance::FindRandomPointAroundCircle(int layer, int MapInstance::FindRandomPointAroundCircle(int layer,
const a8::Vec3& center_pos, const glm::vec3& center_pos,
float max_radius, float max_radius,
glm::vec3& random_pt) glm::vec3& random_pt)
{ {

View File

@ -30,7 +30,7 @@ class MapInstance : public std::enable_shared_from_this<MapInstance>
const a8::Vec3& end, const a8::Vec3& end,
std::vector<a8::Vec3>& paths); std::vector<a8::Vec3>& paths);
int FindRandomPointAroundCircle(int layer, int FindRandomPointAroundCircle(int layer,
const a8::Vec3& center_pos, const glm::vec3& center_pos,
float max_radius, float max_radius,
glm::vec3& random_pt); glm::vec3& random_pt);
bool Raycast(int layer, const glm::vec3& start, const glm::vec3& end, bool Raycast(int layer, const glm::vec3& start, const glm::vec3& end,