1
This commit is contained in:
parent
2a8cbcc140
commit
97f9f3f760
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user