mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 18:19:55 +00:00
28 lines
644 B
C++
28 lines
644 B
C++
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_MAKENAVMESH_H
|
|
|
|
#include "settings.hpp"
|
|
#include "tileposition.hpp"
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
#include <memory>
|
|
#include <set>
|
|
|
|
class dtNavMesh;
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
class RecastMesh;
|
|
class SharedNavMesh;
|
|
struct Settings;
|
|
|
|
using NavMeshPtr = std::shared_ptr<dtNavMesh>;
|
|
|
|
NavMeshPtr makeEmptyNavMesh(const Settings& settings);
|
|
|
|
void updateNavMesh(const osg::Vec3f& agentHalfExtents, const RecastMesh& recastMesh,
|
|
const TilePosition& changedTile, const Settings& settings, SharedNavMesh& navMesh);
|
|
}
|
|
|
|
#endif
|