mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-23 22:55:37 +01:00
17 lines
362 B
C
17 lines
362 B
C
|
#pragma once
|
||
|
|
||
|
#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;
|
||
|
};
|
||
|
}
|