2018-04-07 13:11:23 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H
|
|
|
|
#define OPENMW_COMPONENTS_SCENEUTIL_NAVMESH_H
|
|
|
|
|
|
|
|
#include <osg/ref_ptr>
|
|
|
|
|
|
|
|
class dtNavMesh;
|
2021-11-01 19:05:34 +00:00
|
|
|
struct dtMeshTile;
|
2018-04-07 13:11:23 +00:00
|
|
|
|
|
|
|
namespace osg
|
|
|
|
{
|
|
|
|
class Group;
|
2021-11-02 01:43:09 +00:00
|
|
|
class StateSet;
|
2018-04-07 13:11:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
|
|
|
struct Settings;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace SceneUtil
|
|
|
|
{
|
2021-11-02 01:43:09 +00:00
|
|
|
osg::ref_ptr<osg::StateSet> makeNavMeshTileStateSet();
|
|
|
|
|
2021-11-01 19:05:34 +00:00
|
|
|
osg::ref_ptr<osg::Group> createNavMeshTileGroup(const dtNavMesh& navMesh, const dtMeshTile& meshTile,
|
2021-11-02 01:43:09 +00:00
|
|
|
const DetourNavigator::Settings& settings, const osg::ref_ptr<osg::StateSet>& groupStateSet,
|
|
|
|
const osg::ref_ptr<osg::StateSet>& debugDrawStateSet);
|
2018-04-07 13:11:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|