f8/cpp/navigation_handle.h
2019-10-09 14:17:08 +08:00

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);
};
}