21 lines
633 B
C++
21 lines
633 B
C++
#pragma once
|
|
|
|
#include <a8/vec3.h>
|
|
|
|
namespace f8
|
|
{
|
|
class NavigationHandle
|
|
{
|
|
public:
|
|
NavigationHandle() {};
|
|
~NavigationHandle() {};
|
|
|
|
int FindStraightPath(int layer, const a8::Vec3& start, const a8::Vec3& end,
|
|
std::vector<a8::Vec3>& path_list);
|
|
int FindRandomPointAroundCircle(int layer, const a8::Vec3& center_pos,
|
|
std::vector<a8::Vec3>& points, int max_points, float max_radius);
|
|
int Raycast(int layer, const a8::Vec3& start, const a8::Vec3& end,
|
|
std::vector<a8::Vec3>& hit_points);
|
|
};
|
|
}
|