2021-06-29 01:49:21 +00:00
|
|
|
#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;
|
|
|
|
|
2022-05-23 11:01:30 +00:00
|
|
|
enum class Status
|
|
|
|
{
|
|
|
|
Ok,
|
|
|
|
Cancelled,
|
|
|
|
NotEnoughSpace,
|
|
|
|
};
|
|
|
|
|
|
|
|
Status generateAllNavMeshTiles(const osg::Vec3f& agentHalfExtents, const DetourNavigator::Settings& settings,
|
2021-12-19 21:49:41 +00:00
|
|
|
std::size_t threadsNumber, bool removeUnusedTiles, bool writeBinaryLog, WorldspaceData& cellsData,
|
2022-02-18 20:35:09 +00:00
|
|
|
DetourNavigator::NavMeshDb&& db);
|
2021-06-29 01:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|