1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-07-01 02:01:45 +02:00
GiantsTools/Sdk/Include/Navigation/Public/NavMesh.h

17 lines
394 B
C++

#pragma once
#include "recastnavigation/Detour/Include/DetourNavMeshQuery.h"
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;
};
}