mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-08 09:37:53 +00:00
31 lines
813 B
C++
31 lines
813 B
C++
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
|
|
|
#include "tileposition.hpp"
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
#include <memory>
|
|
#include <set>
|
|
|
|
class dtNavMesh;
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
class RecastMesh;
|
|
struct Settings;
|
|
|
|
using NavMeshPtr = std::shared_ptr<dtNavMesh>;
|
|
|
|
NavMeshPtr makeEmptyNavMesh(const osg::Vec3f& agentHalfExtents, const RecastMesh& recastMesh,
|
|
const Settings& settings);
|
|
|
|
NavMeshPtr makeNavMesh(const osg::Vec3f& agentHalfExtents, const RecastMesh& recastMesh,
|
|
const Settings& settings);
|
|
|
|
void updateNavMesh(const osg::Vec3f& agentHalfExtents, const RecastMesh& recastMesh,
|
|
const std::set<TilePosition>& changedTiles, const Settings& settings, dtNavMesh& navMesh);
|
|
}
|
|
|
|
#endif
|