Add command to enable NavMesh render

togglenavmesh or tnm
This commit is contained in:
elsid 2018-04-07 16:11:23 +03:00
parent 1caa18bb4f
commit 70a369f70e
No known key found for this signature in database
GPG key ID: B845CB9FEE18AB40
25 changed files with 436 additions and 22 deletions

View file

@ -0,0 +1,23 @@
#ifndef OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H
#define OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H
#include <osg/ref_ptr>
class dtNavMesh;
namespace osg
{
class Group;
}
namespace DetourNavigator
{
struct Settings;
}
namespace SceneUtil
{
osg::ref_ptr<osg::Group> createNavMeshGroup(const dtNavMesh& navMesh, const DetourNavigator::Settings& settings);
}
#endif