#ifndef OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H #define OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H #include class dtNavMesh; struct dtMeshTile; namespace osg { class Group; class StateSet; } namespace DetourNavigator { struct Settings; } namespace SceneUtil { enum NavMeshTileDrawFlags : unsigned char { NavMeshTileDrawFlagsOffMeshConnections = 1, NavMeshTileDrawFlagsClosedList = 1 << 1, NavMeshTileDrawFlagsColorTiles = 1 << 2, NavMeshTileDrawFlagsHeat = 1 << 3, }; osg::ref_ptr makeNavMeshTileStateSet(); osg::ref_ptr createNavMeshTileGroup(const dtNavMesh& navMesh, const dtMeshTile& meshTile, const DetourNavigator::Settings& settings, const osg::ref_ptr& groupStateSet, const osg::ref_ptr& debugDrawStateSet, unsigned char flags, unsigned minSalt, unsigned maxSalt); } #endif