mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 21:42:13 +00:00
953a4c5550
Load content files based on the engine config files. Generate navmesh per cell for all cells and store into SQLite database.
24 lines
489 B
C++
24 lines
489 B
C++
#ifndef OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
#define OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
|
|
#include <osg/Vec3f>
|
|
|
|
#include <cstddef>
|
|
#include <string_view>
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
class NavMeshDb;
|
|
struct Settings;
|
|
}
|
|
|
|
namespace NavMeshTool
|
|
{
|
|
struct WorldspaceData;
|
|
|
|
void generateAllNavMeshTiles(const osg::Vec3f& agentHalfExtents, const DetourNavigator::Settings& settings,
|
|
const std::size_t threadsNumber, WorldspaceData& cellsData, DetourNavigator::NavMeshDb&& db);
|
|
}
|
|
|
|
#endif
|