mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
21 lines
426 B
C++
21 lines
426 B
C++
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
||
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
||
|
|
||
|
#include <osg/Vec3f>
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
class dtNavMesh;
|
||
|
|
||
|
namespace DetourNavigator
|
||
|
{
|
||
|
class RecastMesh;
|
||
|
struct Settings;
|
||
|
|
||
|
using NavMeshPtr = std::shared_ptr<dtNavMesh>;
|
||
|
|
||
|
NavMeshPtr makeNavMesh(const osg::Vec3f& agentHalfExtents, const RecastMesh& recastMesh, const Settings& settings);
|
||
|
}
|
||
|
|
||
|
#endif
|