mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Add command to enable NavMesh render
togglenavmesh or tnm
This commit is contained in:
parent
1caa18bb4f
commit
70a369f70e
25 changed files with 436 additions and 22 deletions
23
components/sceneutil/navmesh.hpp
Normal file
23
components/sceneutil/navmesh.hpp
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue