mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:56:40 +00:00 
			
		
		
		
	Load content files based on the engine config files. Generate navmesh per cell for all cells and store into SQLite database.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			489 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 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
 |