mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 04:10:06 +00:00
31 lines
606 B
C++
31 lines
606 B
C++
#ifndef OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
#define OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
#include <cstddef>
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
class NavMeshDb;
|
|
struct Settings;
|
|
}
|
|
|
|
namespace NavMeshTool
|
|
{
|
|
struct WorldspaceData;
|
|
|
|
enum class Status
|
|
{
|
|
Ok,
|
|
Cancelled,
|
|
NotEnoughSpace,
|
|
};
|
|
|
|
Status generateAllNavMeshTiles(const osg::Vec3f& agentHalfExtents, const DetourNavigator::Settings& settings,
|
|
std::size_t threadsNumber, bool removeUnusedTiles, bool writeBinaryLog, WorldspaceData& cellsData,
|
|
DetourNavigator::NavMeshDb&& db);
|
|
}
|
|
|
|
#endif
|