2021-01-24 00:40:09 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-09-05 04:59:58 +02:00
|
|
|
#include "recastnavigation/Detour/Include/DetourNavMeshQuery.h"
|
2021-01-24 00:40:09 +01:00
|
|
|
|
|
|
|
namespace Nav
|
|
|
|
{
|
|
|
|
class NavMesh
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static std::shared_ptr<NavMesh> Load(const std::filesystem::path& path);
|
|
|
|
std::shared_ptr<dtNavMeshQuery> GetQuery() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
std::shared_ptr<dtNavMesh> m_navMesh;
|
|
|
|
std::shared_ptr<dtNavMeshQuery> m_navMeshQuery;
|
|
|
|
};
|
|
|
|
}
|